智能照明系统APP-本地串口
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
LightingSystemApp-serial/.svn/pristine/9a/9a546aa9d338128863fecdc0cea...

23 lines
426 B

3 years ago
import {
wrapper
} from 'uni-helpers/api'
import * as baseApi from './api'
// import * as platformApi from 'uni-platform/view/api'
const uni = Object.create(null)
/* eslint-disable no-undef */
uni.version = __VERSION__
Object.keys(baseApi).forEach(name => {
uni[name] = wrapper(name, baseApi[name])
})
// Object.keys(platformApi).forEach(name => {
// uni[name] = wrapper(name, api[name])
// })
export default uni