2 Star 17 Fork 12

lybbn / unielepy

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
main.js 712 Bytes
一键复制 编辑 原始数据 按行查看 历史
lybbn 提交于 2023-01-30 18:11 . 优化密码重置
// unielepy-----django-vue-lyadmin----mainjs--
import stopRepeatClick from './utils/stopRepeatClick.js';
// #ifndef VUE3
import Vue from 'vue'
import App from './App'
import common from '@/api/common'
Vue.prototype.$stopRepeatClick = stopRepeatClick
Vue.config.productionTip = false
App.mpType = 'app'
const app = new Vue({
...App
})
app.$mount()
//uview-ui
import uView from '@/uni_modules/uview-ui';
Vue.use(uView);
Vue.prototype.$common = common;
// #endif
// #ifdef VUE3
import { createSSRApp } from 'vue'
import App from './App.vue'
export function createApp() {
const app = createSSRApp(App)
app.config.globalProperties.$stopRepeatClick = stopRepeatClick;
return {
app
}
}
// #endif
1
https://gitee.com/lybbn/unielepy.git
git@gitee.com:lybbn/unielepy.git
lybbn
unielepy
unielepy
master

搜索帮助