From 2e271a6b02a2f82bc0e3a36e05c00731bad99358 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期日, 02 十月 2022 01:46:25 +0800
Subject: [PATCH] 2022-10-02

---
 src/menu/components/table/normal-table/index.jsx |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/src/menu/components/table/normal-table/index.jsx b/src/menu/components/table/normal-table/index.jsx
index b8bf5bc..0983391 100644
--- a/src/menu/components/table/normal-table/index.jsx
+++ b/src/menu/components/table/normal-table/index.jsx
@@ -6,7 +6,7 @@
 
 import asyncComponent from '@/utils/asyncComponent'
 import asyncIconComponent from '@/utils/asyncIconComponent'
-import { resetStyle } from '@/utils/utils-custom.js'
+import { resetStyle, getTables } from '@/utils/utils-custom.js'
 import MKEmitter from '@/utils/events.js'
 import getWrapForm from './options'
 import Utils from '@/utils/utils.js'
@@ -219,6 +219,10 @@
         card.errors.push({ level: 0, detail: '鏈缃笂绾х粍浠讹紒'})
       }
 
+      if (card.errors.length === 0) {
+        card.$tables = getTables(card)
+      }
+
       card.action.forEach(cell => {
         if (cell.OpenType === 'pop' || (cell.OpenType === 'funcbutton' && cell.execMode === 'pop')) {
           if (!cell.modal || cell.modal.fields.length === 0) {

--
Gitblit v1.8.0