소스 검색

feat: 注释不需要的代码

caoliqin 1 주 전
부모
커밋
32da4ce76e
1개의 변경된 파일7개의 추가작업 그리고 7개의 파일을 삭제
  1. 7 7
      src/views/system/keyword/index.vue

+ 7 - 7
src/views/system/keyword/index.vue

@@ -153,7 +153,7 @@
 
 <script>
 import { listKeyword, getKeyword, delKeyword, addKeyword, updateKeyword, exportKeyword } from "@/api/system/keyword";
-import { allList } from "@/api/system/dict/data";
+// import { allList } from "@/api/system/dict/data";
 import { getCompanyList } from "@/api/company/companyUser";
 
 export default {
@@ -201,7 +201,7 @@ export default {
   },
   created() {
     this.getList();
-    this.getTypeOptions();
+    // this.getTypeOptions();
     this.getCompanyOptions();
   },
   methods: {
@@ -320,11 +320,11 @@ export default {
         }).catch(() => {});
     },
     /** 获取类型选项 */
-    getTypeOptions() {
-      allList({ dictType: "keyword_type" }).then(response => {
-        this.typeOptions = response.data;
-      });
-    },
+    // getTypeOptions() {
+      // allList({ dictType: "keyword_type" }).then(response => {
+      //   this.typeOptions = response.data;
+      // });
+    // },
     /** 获取公司选项 */
     getCompanyOptions() {
       getCompanyList().then(response => {