Explorar el Código

docs: "增加showDataDiv"

wangzeyu@tom.com hace 2 años
padre
commit
71e6911f63
Se han modificado 1 ficheros con 8 adiciones y 0 borrados
  1. 8 0
      src/views/home/index.vue

+ 8 - 0
src/views/home/index.vue

@@ -438,6 +438,14 @@ export default {
           });
         }
       }
+
+      // 如果有数据概览权限 和 订单数据权限
+      if (isDataOverview && isOrderData.value) {
+        if (user.type < 3) {
+          showDataDiv.value = true;
+        }
+      }
+      
     };
 
     // 常用操作跳转页面