fix: 去掉 console 打印

pull/207/head
jason 2025-08-25 10:17:19 +08:00 committed by xingyu
parent 367a5b9924
commit 9301962e12
1 changed files with 2 additions and 3 deletions

View File

@ -52,7 +52,7 @@ const props = defineProps({
const emit = defineEmits(['cancel']);
// form-create
const isFormReady = ref(false)
const isFormReady = ref(false);
const { closeCurrentTab } = useTabs();
@ -132,7 +132,6 @@ async function initProcessInfo(row: any, formVariables?: any) {
//
const formApi = formCreate.create(decodeFields(row.formFields));
const allowedFields = formApi.fields();
console.error('allowedFields===>', allowedFields);
for (const key in formVariables) {
if (!allowedFields.includes(key)) {
delete formVariables[key];
@ -141,7 +140,7 @@ async function initProcessInfo(row: any, formVariables?: any) {
setConfAndFields2(detailForm, row.formConf, row.formFields, formVariables);
//
isFormReady.value = true
isFormReady.value = true;
await nextTick();
fApi.value?.btn.show(false); //