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