Browse Source

feat: 提交回退参数调整2

cuiyalong 10 months ago
parent
commit
85e484d9db
1 changed files with 1 additions and 1 deletions
  1. 1 1
      frontend/src/views/CodeList.vue

+ 1 - 1
frontend/src/views/CodeList.vue

@@ -598,7 +598,7 @@ const tableEvents = {
         onlyClickHighlight(row, '_action_clicked_rollback')
         const mark = getMarkWithRow(row)
         console.log(mark)
-        ServerActionUpdateCodeState({ cssmark: mark, state: -1 }).then(r => {
+        ServerActionUpdateCodeState({ cssmark: mark, state: 0 }).then(r => {
             if (r.err === 1) {
                 ElMessage({
                     message: '回退成功',