剩余模块:生产退料
This commit is contained in:
11
App.vue
11
App.vue
@@ -5,6 +5,7 @@
|
||||
import {
|
||||
getAppVersion
|
||||
} from './common/request/api/api'
|
||||
import scaninput from './scanInput.js'
|
||||
export default {
|
||||
onLaunch: function() {
|
||||
console.log('App Launch')
|
||||
@@ -46,7 +47,6 @@
|
||||
} else {
|
||||
locale.value = uni.getStorageSync('locale')
|
||||
}
|
||||
|
||||
//登录状态变更
|
||||
let tokenStr = ''
|
||||
tokenStr = uni.getStorageSync('TOKEN')
|
||||
@@ -55,11 +55,10 @@
|
||||
url: '/pages/client/account/login',
|
||||
})
|
||||
}
|
||||
|
||||
//不要问我为什么这么写,但你先别觉得,去问客户
|
||||
const appVersion = '0.0.1' //珠海版本号
|
||||
const appTaiGuoVersion = '0.0.1' //泰国版本号
|
||||
|
||||
// #ifdef APP-NVUE
|
||||
//版本信息获取以及更新
|
||||
getAppVersion().then(res => {
|
||||
console.log(res);
|
||||
@@ -100,16 +99,14 @@
|
||||
}
|
||||
|
||||
})
|
||||
// #endif
|
||||
},
|
||||
onHide: function() {
|
||||
console.log('App Hide')
|
||||
},
|
||||
methods: {
|
||||
|
||||
}
|
||||
methods: {}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss">
|
||||
/*每个页面公共css */
|
||||
@import "@/uni_modules/uview-plus/index.scss";
|
||||
|
||||
Reference in New Issue
Block a user