Răsfoiți Sursa

feat: 打回不需要拼接参数

cuiyalong 9 luni în urmă
părinte
comite
9a3719a446
1 a modificat fișierele cu 0 adăugiri și 5 ștergeri
  1. 0 5
      frontend/src/views/ReviewList.vue

+ 0 - 5
frontend/src/views/ReviewList.vue

@@ -659,10 +659,6 @@ const tableEvents = {
         const lua = getLuaParams(row)
         lua.state = info.state
         lua.reason = info.reason
-        if (info.oldstate) {
-            const code = `${row.code}_${row.state}`
-            lua.code = code
-        }
         ServerActionUpdateCodeState({ lua: lua }).then(r => {
             if (r.err === 1) {
                 ElMessage({
@@ -744,7 +740,6 @@ const tableEvents = {
             this.updateCodeStateAction(row, {
                 reason: value,
                 state: 2,
-                oldstate: row.state,
                 successTip: '打回成功',
                 errorTip: '打回失败',
             })