From 1e71dd86f6d0c4fc7e5143600d4bc4b50992a2a7 Mon Sep 17 00:00:00 2001 From: quanyawei <401863037@qq.com> Date: Thu, 04 Jul 2024 14:51:28 +0800 Subject: [PATCH] fix: 高德密钥修改 --- main.js | 29 +++++++++++++++++++++++++++++ 1 files changed, 29 insertions(+), 0 deletions(-) diff --git a/main.js b/main.js new file mode 100644 index 0000000..f4ec32e --- /dev/null +++ b/main.js @@ -0,0 +1,29 @@ +import Vue from 'vue' +import App from './App' +import * as http from './utils/http' // http������������ +import * as login from './utils/login' // ������ +import * as utils from './utils/utils' // ������������ +// import * as common from './utils/common' // ������������ +import store from './store/index.js' +import storage from './utils/storage' // ������������ +import share from './utils/share.js' // ������������������������������������ +import '.env.js' +// ������������ +Vue.prototype.$store = store +Vue.prototype.$storage = storage +Vue.prototype.$http = http +Vue.prototype.$login = login +Vue.prototype.$utils = utils +// Vue.prototype.$common = common +App.mpType = 'app' +const app = new Vue({ + store, + ...App, +}) +Vue.prototype.$onLaunched = new Promise(resolve => { + Vue.prototype.$isResolve = resolve +}) +app.$mount() +import uView from '@/uni_modules/uview-ui' +Vue.use(uView) +Vue.mixin(share) \ No newline at end of file -- Gitblit v1.8.0