Переглянути джерело

feat: 修复已功能类型,添加到了已删除的数据

Damon 8 місяців тому
батько
коміт
94e9b8aefd
1 змінених файлів з 6 додано та 2 видалено
  1. 6 2
      src/mixin/index.js

+ 6 - 2
src/mixin/index.js

@@ -91,7 +91,6 @@ const devCategoryMixin = {
     getCateGory(status) {
       categoryList({
         status: status,
-        isDelete: 0,
       }).then((res) => {
         res.data.map((i) => {
           this.categoryOptions.push({
@@ -132,8 +131,13 @@ const devFucMixin = {
       devFucOptions: [],
     };
   },
+
+  
   mounted() {
-    functionList().then((res) => {
+    functionList({
+      status: 0,
+      isDelete: 0,
+    }).then((res) => {
       if (res.code === 0) {
         res.data.map((i) => {
           this.devFucOptions.push({