hookehuyr

fix 流程保存时,需要调用Doris iframe外围的函数

<!--
* @Date: 2022-07-18 10:22:22
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2024-07-21 11:58:41
* @LastEditTime: 2024-07-22 12:00:06
* @FilePath: /data-table/src/views/index.vue
* @Description: 首页
-->
......@@ -1079,8 +1079,11 @@ const onSubmit = async (values) => {
showSuccessToast("操作成功");
// 缓存表单返回值
// store.changeSuccessInfo(result.data);
// 表单成功提交后续操作
// successHandle();
//在 iframe 中调用父页面中定义的变量 - Doris需要自由控制
let getChildVal = parent.parent.getChildVal;
if (getChildVal) {
getChildVal();
}
} else {
// 提交按钮禁用状态
submitStatus.value = false;
......