【升级】前端代码格式化

This commit is contained in:
俞宝山
2026-03-03 22:59:54 +08:00
parent 6021a05965
commit 0ac1f8a74b

View File

@@ -121,20 +121,8 @@
</s-table>
</template>
</XnResizablePanel>
<Form
ref="formRef"
@successful="
tableRef.refresh()
refreshTreeData()
"
/>
<CopyForm
ref="copyFormRef"
@successful="
tableRef.clearRefreshSelected()
refreshTreeData()
"
/>
<Form ref="formRef" @successful="onFormSuccess" />
<CopyForm ref="copyFormRef" @successful="onCopyFormSuccess" />
</template>
<script setup name="bizOrg">
@@ -359,6 +347,16 @@
refreshTreeData()
})
}
// 表单成功回调
const onFormSuccess = () => {
tableRef.value.refresh()
refreshTreeData()
}
// 复制表单成功回调
const onCopyFormSuccess = () => {
tableRef.value.clearRefreshSelected()
refreshTreeData()
}
// 批量复制
const copyFormRef = ref()
const copyBatchOrg = (params) => {