工作端小程序
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.

33 lines
618 B

2 months ago
import App from './App'
import uView from "uview-ui";
import store from "./store";
1 month ago
// import Vconsole from "vconsole";
2 months ago
Vue.use(uView);
// new Vconsole();
2 months ago
// #ifndef VUE3
import Vue from 'vue'
import './uni.promisify.adaptor'
1 month ago
import { handleTree } from "@/utils/ruoyi";
2 months ago
Vue.config.productionTip = false
1 month ago
Vue.prototype.handleTree = handleTree
2 months ago
App.mpType = 'app'
2 months ago
// uni.$u.config.unit = 'rpx'
2 months ago
const app = new Vue({
store,
...App,
});
2 months ago
app.$mount()
// #endif
// #ifdef VUE3
import { createSSRApp } from 'vue'
export function createApp() {
const app = createSSRApp(App)
return { store,
2 months ago
app
}
}
// #endif