star7th %!s(int64=6) %!d(string=hai) anos
pai
achega
a61a7bec88
Modificáronse 1 ficheiros con 2 adicións e 3 borrados
  1. 2 3
      web_src/src/components/admin/Index.vue

+ 2 - 3
web_src/src/components/admin/Index.vue

@@ -167,12 +167,11 @@ export default {
   },
   mounted () {
     this.check_upadte();
-    
+    this.unset_bg_grey();
   },
   beforeDestroy(){
     this.$message.closeAll();
-    /*去掉添加的背景色*/
-    document.body.removeAttribute("class","grey-bg");
+    this.set_bg_grey();
   }
 }
 </script>