mirror of
http://36.133.248.69:3088/admin/RentWeAppFront.git
synced 2026-03-08 01:42:28 +08:00
33 lines
603 B
JavaScript
33 lines
603 B
JavaScript
|
|
|
||
|
|
import Vue from 'vue'
|
||
|
|
|
||
|
|
import 'uni-platform/view/index.css'
|
||
|
|
|
||
|
|
import {
|
||
|
|
definePage
|
||
|
|
} from 'uni-platform/page-factory'
|
||
|
|
|
||
|
|
import {
|
||
|
|
getCurrentPages
|
||
|
|
} from 'uni-platform/view/framework/page'
|
||
|
|
|
||
|
|
import ViewPlugin from 'uni-platform/view/framework/plugins/index'
|
||
|
|
|
||
|
|
global.UniViewJSBridge = {
|
||
|
|
subscribe: UniViewJSBridge.subscribe,
|
||
|
|
publishHandler: UniViewJSBridge.publishHandler,
|
||
|
|
subscribeHandler: UniViewJSBridge.subscribeHandler
|
||
|
|
}
|
||
|
|
|
||
|
|
global.getCurrentPages = getCurrentPages
|
||
|
|
|
||
|
|
global.__definePage = definePage
|
||
|
|
|
||
|
|
global.Vue = Vue
|
||
|
|
|
||
|
|
Vue.use(ViewPlugin)
|
||
|
|
|
||
|
|
require('uni-components')
|
||
|
|
|
||
|
|
export * from './view-api.js'
|