NGToolsAdmin/js_sdk/uni-id-pages/store.js
2024-09-13 16:39:31 +08:00

14 lines
330 B
JavaScript

import * as uniIdPagesStore from '@/uni_modules/uni-id-pages/common/store'
// #ifndef VUE3
export function initUniIdPageStore(Vue) {
Vue.prototype.$uniIdPagesStore = uniIdPagesStore
}
// #endif
// #ifdef VUE3
export function initUniIdPageStore(app) {
app.config.globalProperties.$uniIdPagesStore = uniIdPagesStore
}
// #endif