Explorar o código

放开所有权限

yusheng hai 1 ano
pai
achega
8c2845ac40
Modificáronse 1 ficheiros con 1 adicións e 2 borrados
  1. 1 2
      src/views/doc/util.js

+ 1 - 2
src/views/doc/util.js

@@ -12,8 +12,7 @@ export function isPower(data = {}, power, selection = []) {
   }
   if (
     //文件查看浏览权限
-    vue.prototype.$hasPermission('fm:doc:viewAll') &&
-    ['check', 'browse'].includes(power)
+    vue.prototype.$hasPermission('fm:doc:viewAll')
   ) {
     return true;
   }