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

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