|
|
@@ -67,7 +67,7 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
|
|
|
- <view v-if="!$util.isEmpty(data.warning)" class="alert-card alert-card-error">
|
|
|
+ <view v-if="!$util.isEmpty(data.warning)" class="alert-card alert-card-error" @click.stop="goWarning(data)">
|
|
|
<view class="alert-content">
|
|
|
<view class="alert-text">{{ data.warning }}</view>
|
|
|
</view>
|
|
|
@@ -347,6 +347,11 @@ export default {
|
|
|
this.updateCurrentDate()
|
|
|
this.initHomeMenus()
|
|
|
},
|
|
|
+ goWarning(info){
|
|
|
+ if(!this.$util.isEmpty(info.warningUrl)){
|
|
|
+ this.$util.pageTo({ url:info.warningUrl})
|
|
|
+ }
|
|
|
+ },
|
|
|
handlePageUnload() {},
|
|
|
handlePageShow() {
|
|
|
this.unReadMsgNum = 0
|