Commit d6dcf1c7 authored by jingnan's avatar jingnan 👀

合并产品代码【8148】【任务详情完成任务校验代码合并】【8295】

parent bdae19d4
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -788,7 +788,11 @@ export default {
// 任务处理
this.dynamicComponents.forEach(item => {
if (this.$refs.hasOwnProperty(item.configName)) {
if (this.$refs[item.configName][0].hasOwnProperty('validate')) {
if (item.comType === 'privateComponent' && item.webServerName) {
if (this.$refs[item.configName][0].$refs.asCom && this.$refs[item.configName][0].$refs.asCom.hasOwnProperty('validate')) {
validateArray.push(this.$refs[item.configName][0].$refs.asCom.validate())
}
} else if (this.$refs[item.configName][0].hasOwnProperty('validate')) {
validateArray.push(this.$refs[item.configName][0].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