@@ -370,12 +370,20 @@ const isFormRegExp = async () => {
}
+//卸载渲染
+const unmountHtml = () => {
+ if (tableFormApp.value) {
+ tableFormApp.value?.unmount()
+ }
+}
+
// 暴露出去
defineExpose({
getFormData,
setFormData,
getRegExpJson,
- isFormRegExp
+ isFormRegExp,
+ unmountHtml
})
</script>