Browse Source

feat: 提交回退参数调整2

cuiyalong 10 tháng trước cách đây
mục cha
commit
85e484d9db
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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')
         onlyClickHighlight(row, '_action_clicked_rollback')
         const mark = getMarkWithRow(row)
         const mark = getMarkWithRow(row)
         console.log(mark)
         console.log(mark)
-        ServerActionUpdateCodeState({ cssmark: mark, state: -1 }).then(r => {
+        ServerActionUpdateCodeState({ cssmark: mark, state: 0 }).then(r => {
             if (r.err === 1) {
             if (r.err === 1) {
                 ElMessage({
                 ElMessage({
                     message: '回退成功',
                     message: '回退成功',