智能照明系统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/d3/d39007ac6f1a2444bc5d422ee4e...

32 lines
599 B

3 years ago
import {
parseData
} from './data-parser'
import {
parseComponents
} from './components-parser'
import {
parsePageMethods
} from './page-methods-parser'
import {
parsePageLifecycle
} from './page-lifecycle-parser'
export function parsePage (mpComponentOptions) {
const vueComponentOptions = {
mixins: [],
mpOptions: {}
}
parseComponents(vueComponentOptions)
parseData(mpComponentOptions.data, vueComponentOptions)
parsePageMethods(mpComponentOptions, vueComponentOptions)
parsePageLifecycle(mpComponentOptions, vueComponentOptions)
return vueComponentOptions
}