Procházet zdrojové kódy

fix: 优化打回逻辑

cuiyalong před 9 měsíci
rodič
revize
cd736ea7fb
1 změnil soubory, kde provedl 3 přidání a 2 odebrání
  1. 3 2
      frontend/src/views/ReviewList.vue

+ 3 - 2
frontend/src/views/ReviewList.vue

@@ -665,6 +665,8 @@ const tableEvents = {
         if (Array.isArray(rowArr) && rowArr.length > 0) {
             rowArr.forEach(row => {
                 const lua = getLuaParams(row)
+                lua.state = info.state
+                lua.reason = info.reason
                 luaArr.push(lua)
             })
         } else {
@@ -676,8 +678,7 @@ const tableEvents = {
         const param = {
             stype: info.stype,
         }
-        lua.state = info.state
-        lua.reason = info.reason
+        
         ServerActionUpdateCodeState({ lua: luaArr, param }).then(r => {
             if (r.err === 1) {
                 ElMessage({