Explorar el Código

feat: 提交回退参数调整2

cuiyalong hace 10 meses
padre
commit
85e484d9db
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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: '回退成功',