[update 89156] 标准比对,两侧都要选择条款才能保存
This commit is contained in:
@@ -200,7 +200,7 @@ export default {
|
||||
methods: {
|
||||
// 文档对比的一致按钮点击
|
||||
consistentAssessmentClick () {
|
||||
if (!this.dataLeft.id && !this.dataRight.id) {
|
||||
if (!this.dataLeft.id || !this.dataRight.id) {
|
||||
this.$message.warning(this.$t('docTool.comparison.pleaseSelectTheDataCompared'))
|
||||
return
|
||||
}
|
||||
@@ -244,7 +244,7 @@ export default {
|
||||
},
|
||||
// 文档对比的保存按钮点击
|
||||
submit () {
|
||||
if (!this.dataLeft.id && !this.dataRight.id) {
|
||||
if (!this.dataLeft.id || !this.dataRight.id) {
|
||||
this.$message.warning(this.$t('docTool.comparison.pleaseSelectTheDataCompared'))
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user