|
@@ -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()
|
|
|
})
|