Explorar o código

视频社区无权限时切换页面刷新数据

jwyu %!s(int64=2) %!d(string=hai) anos
pai
achega
e786da66fc
Modificáronse 1 ficheiros con 6 adicións e 0 borrados
  1. 6 0
      pages/video/videoList.vue

+ 6 - 0
pages/video/videoList.vue

@@ -125,6 +125,12 @@ export default {
         this.init(options)
         this.getPermissionList()
     },
+    onShow(){
+        //无权限时刷新列表
+        if(!this.isAuth){
+            this.getList()
+        }
+    },
     onHide(){
         this.showFilter=false
         this.curVideoId=0