Explorar el Código

放开所有权限

yusheng hace 1 año
padre
commit
8c2845ac40
Se han modificado 1 ficheros con 1 adiciones y 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;
   }