ソースを参照

同义词停用

CzRger 1 週間 前
コミット
716018ad51
共有1 個のファイルを変更した2 個の追加2 個の削除を含む
  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()
     })