This commit is contained in:
parent
bd3a2e9cce
commit
5d4c0d30e0
3
App.vue
3
App.vue
|
|
@ -6,7 +6,8 @@
|
|||
recentNativeData: 0 // 初始化一个全局变量
|
||||
},
|
||||
onLaunch: function(options) {
|
||||
|
||||
uni.setStorageSync('AppUser', {})
|
||||
uni.setStorageSync('userInfo', {})
|
||||
// console.log=()=>{}
|
||||
// === wgt 包启动诊断日志 ===
|
||||
console.log('=== App Launch 开始 ===')
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load Diff
2
main.js
2
main.js
|
|
@ -36,7 +36,7 @@ export function createApp() {
|
|||
app.config.globalProperties.$system = plus.os.name;
|
||||
// #endif
|
||||
app.config.globalProperties.$systemInfo = systemInfo;
|
||||
uni.setStorageSync('version', '1.0.7.sp5');
|
||||
uni.setStorageSync('version', '1.0.7.sp6');
|
||||
app.config.globalProperties.$version = uni.getStorageSync('version');
|
||||
// 环境:development→测试,production→正式(跟构建环境走,无需手改)
|
||||
const isTest = process.env.NODE_ENV === 'development';
|
||||
|
|
|
|||
Loading…
Reference in New Issue