瀏覽代碼

feat: 提交回退参数调整2

cuiyalong 10 月之前
父節點
當前提交
85e484d9db
共有 1 個文件被更改,包括 1 次插入1 次删除
  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: '回退成功',