|
@@ -153,9 +153,11 @@ const validateTabs = async () => {
|
|
|
const activeComponent = index => {
|
|
|
const cur = componentsArr[index]
|
|
|
if (activeTab.value !== cur.value) {
|
|
|
+ if (activeTab.value === '表单设计') {
|
|
|
+ compRefs.value[1]?.exportJsonEv()
|
|
|
+ }
|
|
|
// 当前缓存
|
|
|
if (!cache_components.value[index]) {
|
|
|
- cache_components.value[index] = true
|
|
|
// 更新数据
|
|
|
const updateCompInfo = compRefs.value[index]?.updateCompInfo
|
|
|
// console.error('刷新数据')
|