From 2bea732496b4f5051233ed94e206160992351596 Mon Sep 17 00:00:00 2001 From: yuxc <yuxc@vci-tech.com> Date: 星期三, 15 一月 2025 11:02:06 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- Source/plt-web/plt-web-ui/src/components/PLT-basic-component/basicForm.vue | 14 +++++++------- 1 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Source/plt-web/plt-web-ui/src/components/PLT-basic-component/basicForm.vue b/Source/plt-web/plt-web-ui/src/components/PLT-basic-component/basicForm.vue index 166830c..d09d91f 100644 --- a/Source/plt-web/plt-web-ui/src/components/PLT-basic-component/basicForm.vue +++ b/Source/plt-web/plt-web-ui/src/components/PLT-basic-component/basicForm.vue @@ -1,6 +1,6 @@ <template> <!--鍔ㄦ�佹ā鏉�--> - <avue-form ref="form" :option="option" v-model="form" v-loading="loading"> + <avue-form ref="basicform" :option="option" v-model="form" v-loading="loading"> <template v-for="item in allColumn" :slot="item.prop+ ''"> <vciWebRefer v-if="item.type === 'refer'" @@ -326,7 +326,7 @@ // 琛ㄥ崟鏍¢獙 validate(done) { return new Promise((resolve) => { - this.$refs.form.validate((valid,fields) => { + this.$refs.basicform.validate((valid,fields) => { done(valid,fields); if (valid) { resolve(true); @@ -339,19 +339,19 @@ }); }, resetFields(){ - this.$refs.form.resetFields() + this.$refs.basicform.resetFields() }, clearValidate(props){ - this.$refs.form.clearValidate(props) + this.$refs.basicform.clearValidate(props) }, updateDic(prop,data){ - this.$refs.form.updateDic(prop,data) + this.$refs.basicform.updateDic(prop,data) }, dicInit(){ - this.$refs.form.dicInit() + this.$refs.basicform.dicInit() }, getPropRef(){ - this.$refs.form.getPropRef() + this.$refs.basicform.getPropRef() } }, }; -- Gitblit v1.9.3