zhongxiaoyu 3 жил өмнө
parent
commit
362c5228f1

+ 4 - 4
src/views/dashboard/index.vue

@@ -1,8 +1,8 @@
 <!--
  * @Author: your name
  * @Date: 2021-10-14 17:17:53
- * @LastEditTime: 2022-01-12 11:09:08
- * @LastEditors: Please set LastEditors
+ * @LastEditTime: 2022-02-23 14:49:51
+ * @LastEditors: your name
  * @Description: In User Settings Edit
  * @FilePath: \Foshan4A\src\views\dashboard\index.vue
 -->
@@ -185,8 +185,8 @@ export default {
     //判断页面展示权限
     isPower () {
       const obj = typeof (this.systemSet) === 'string' ? JSON.parse(this.systemSet) : this.systemSet
-      const { OpenGroup, OpenRole } = obj
-      if (!OpenGroup) {
+      const { OpenGroup, OpenRole, UserOfficerMulti } = obj
+      if (!OpenGroup || !UserOfficerMulti) {
         this.selectArr.forEach((item, index) => {
           if (item.id === 2) {
             this.selectArr.splice(index, 1)