浏览代码

放开所有权限

yusheng 1 年之前
父节点
当前提交
8c2845ac40
共有 1 个文件被更改,包括 1 次插入2 次删除
  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;
   }