Quellcode durchsuchen

同义词停用

CzRger vor 1 Woche
Ursprung
Commit
716018ad51
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  1. 2 2
      src/views/manage/system/entry/index.vue

+ 2 - 2
src/views/manage/system/entry/index.vue

@@ -62,7 +62,7 @@ import {ElMessage, ElMessageBox} from "element-plus";
 import DetailCom from "./detail.vue";
 import IndexCom from "./index-list.vue";
 import {useDictionaryStore} from "@/stores";
-import {hotDelete, hotQuerySysHotWordByPage, hotStart} from "@/api/modules/manage/hot";
+import {hotDelete, hotQuerySysHotWordByPage, hotStart, hotStop} from "@/api/modules/manage/hot";
 
 const {proxy} = getCurrentInstance()
 const DictionaryStore = useDictionaryStore()
@@ -188,7 +188,7 @@ const onStop = (row) => {
     type: "warning",
   } as any).then(() => {
     state.loading = true
-    hotStart(row.id).then(res => {
+    hotStop(row.id).then(res => {
       ElMessage.success('启用成功!')
       onSearch()
     })