소스 검색

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: '回退成功',