Эх сурвалжийг харах

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

jwyu 2 жил өмнө
parent
commit
e786da66fc

+ 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