9 Commits

4 changed files with 14 additions and 4 deletions

View File

@@ -28,7 +28,10 @@
// #endif // #endif
}, },
onShow(){ onShow(){
this.getVersion(); // this.getVersion();
},
onLoad() {
}, },
onHide(){ onHide(){

View File

@@ -2,7 +2,7 @@
"name" : "德铭阳光", "name" : "德铭阳光",
"appid" : "__UNI__EBFF00A", "appid" : "__UNI__EBFF00A",
"description" : "", "description" : "",
"versionName" : "1.0.0", "versionName" : "1.0.1",
"versionCode" : "100", "versionCode" : "100",
"transformPx" : false, "transformPx" : false,
/* 5+App */ /* 5+App */

View File

@@ -18,6 +18,7 @@
2. 新增Modal模态框组件<br> 2. 新增Modal模态框组件<br>
3. 新增压窗屏组件可以在APP上以弹窗的形式遮盖导航栏和底部tabbar<br> 3. 新增压窗屏组件可以在APP上以弹窗的形式遮盖导航栏和底部tabbar<br>
`, `,
isAutoUpdate: false,
} }
}, },
onLoad(option) { onLoad(option) {
@@ -45,10 +46,16 @@
// #endif // #endif
}, },
closeModal() { closeModal() {
const pages = getCurrentPages();
// console.log(pages);
if(pages.length == 2) {
this.$u.route('/pageA/welcome/welcome');
} else {
uni.navigateBack(); uni.navigateBack();
} }
} }
} }
}
</script> </script>
<style lang="scss"> <style lang="scss">

View File

@@ -49,7 +49,7 @@ export default {
}, },
updateVersion() { updateVersion() {
this.$u.route('/pageE/setting/updateVersion', { this.$u.route('/pageE/setting/updateVersion', {
status: this.status status: this.status,
}); });
} }
} }