shish hace 1 mes
padre
commit
e60aeb25de
Se han modificado 1 ficheros con 6 adiciones y 1 borrados
  1. 6 1
      hdApp/src/admin/home/components/mall-home-panel.vue

+ 6 - 1
hdApp/src/admin/home/components/mall-home-panel.vue

@@ -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