Commit d1375498 authored by wangdanlei's avatar wangdanlei

Merge branch 'main' into dev

parents d0308804 278fcbc2
......@@ -761,8 +761,9 @@ export default {
const validateArray = []
// 审批对象表单
this.approvalObject.forEach(item => {
const vm = this.$refs[item.refKey][0]
if (!vm) return
const refCom = this.$refs[item.refKey]
if (!refCom || !refCom[0]) return
const vm = refCom[0]
if (vm.hasOwnProperty('validate')) {
validateArray.push(vm.validate())
} else if (vm.$refs.asCom && vm.$refs.asCom.hasOwnProperty('validate')) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment