Преглед изворни кода

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({