Browse Source

update version

devlop
邓雄飞 4 years ago
parent
commit
89cf05f9d9
4 changed files with 8 additions and 9 deletions
  1. 7
      App.vue
  2. 4
      env/index.js
  3. 2
      manifest.json
  4. 4
      pages/mall/index.vue

7
App.vue

@ -85,10 +85,9 @@ export default {
//#ifdef APP-PLUS
checkUpdate().then((version) => {
let curVersion = plus.runtime.version
// if(version != curVersion) {
// plus.runtime.openURL(`https://www.pgyer.com/ST8i`)
// }
console.log(version, curVersion)
if(version != curVersion) {
plus.runtime.openURL(`https://www.pgyer.com/ST8i`)
}
})
//#endif
},

4
env/index.js

@ -1,8 +1,8 @@
/**
* @description 唯一环境变量
*/
const env = 'test'
// const env = 'test'
// const env = 'dev'
// const env = 'production'
const env = 'production'
export default env

2
manifest.json

@ -2,7 +2,7 @@
"name" : "纸掌柜",
"appid" : "__UNI__8C1E198",
"description" : "",
"versionName" : "1.0.0",
"versionName" : "1.0.1",
"versionCode" : 102,
"transformPx" : false,
"networkTimeout" : {

4
pages/mall/index.vue

@ -1,6 +1,6 @@
<template>
<view style="position: relative">
<view v-show="hasCompany && hasLogin" class="wrapper">
<view v-if="hasCompany && hasLogin" class="wrapper">
<uni-nav-bar :fixed="true" color="#ffffff" background-color="#ffffff" :status-bar="true">
<view slot="left" class="left-title">纸商城</view>
<view slot="right" class="right-title" @tap="shareTap">分享</view>
@ -206,7 +206,7 @@ export default {
},
//
queryData() {
if (!hasCompany || !hasLogin) {
if (!this.hasCompany || !this.hasLogin) {
return
}
return new Promise((resolve, reject) => {

Loading…
Cancel
Save