CzRger преди 1 седмица
родител
ревизия
e86a878788
променени са 1 файла, в които са добавени 3 реда и са изтрити 3 реда
  1. 3 3
      src/views/manage/system/synonym/index.vue

+ 3 - 3
src/views/manage/system/synonym/index.vue

@@ -153,7 +153,7 @@ const onDel = (row) => {
     type: "warning",
   } as any).then(() => {
     state.loading = true
-    synonymDelete(row.id).then(res => {
+    synonymDelete(row.swId).then(res => {
       ElMessage.success('删除成功!')
       onSearch()
     })
@@ -171,7 +171,7 @@ const onStart = (row) => {
     type: "warning",
   } as any).then(() => {
     state.loading = true
-    synonymStart(row.id).then(res => {
+    synonymStart(row.swId).then(res => {
       ElMessage.success('启用成功!')
       onSearch()
     })
@@ -189,7 +189,7 @@ const onStop = (row) => {
     type: "warning",
   } as any).then(() => {
     state.loading = true
-    synonymStop(row.id).then(res => {
+    synonymStop(row.swId).then(res => {
       ElMessage.success('启用成功!')
       onSearch()
     })