fix(接口定义): 修复同步备注和依赖关系checkbox不能取消的问题
This commit is contained in:
parent
0ee86b6ddf
commit
0d05cd92d9
|
@ -340,8 +340,8 @@ export default {
|
|||
create(row) {
|
||||
// 创建新版本
|
||||
this.basisData.versionId = row.id;
|
||||
this.basisData.newVersionRemark = !!this.basisData.remark;
|
||||
this.basisData.newVersionDeps = this.$refs.apiOtherInfo.relationshipCount > 0;
|
||||
this.$set(this.basisData, 'newVersionRemark', !!this.basisData.remark);
|
||||
this.$set(this.basisData, 'newVersionDeps', this.$refs.apiOtherInfo.relationshipCount > 0);
|
||||
if (this.$refs.apiOtherInfo.relationshipCount > 0 || this.basisData.remark) {
|
||||
this.createNewVersionVisible = true;
|
||||
} else {
|
||||
|
|
|
@ -660,9 +660,8 @@ export default {
|
|||
create(row) {
|
||||
// 创建新版本
|
||||
this.httpForm.versionId = row.id;
|
||||
|
||||
this.httpForm.newVersionRemark = !!this.httpForm.remark;
|
||||
this.httpForm.newVersionDeps = this.$refs.apiOtherInfo.relationshipCount > 0;
|
||||
this.$set(this.httpForm, 'newVersionRemark', !!this.httpForm.remark);
|
||||
this.$set(this.httpForm, 'newVersionDeps', this.$refs.apiOtherInfo.relationshipCount > 0);
|
||||
if (this.$refs.apiOtherInfo.relationshipCount > 0 || this.httpForm.remark) {
|
||||
this.createNewVersionVisible = true;
|
||||
} else {
|
||||
|
|
|
@ -346,8 +346,8 @@ export default {
|
|||
create(row) {
|
||||
// 创建新版本
|
||||
this.basisData.versionId = row.id;
|
||||
this.basisData.newVersionRemark = !!this.basisData.remark;
|
||||
this.basisData.newVersionDeps = this.$refs.apiOtherInfo.relationshipCount > 0;
|
||||
this.$set(this.basisData, 'newVersionRemark', !!this.basisData.remark);
|
||||
this.$set(this.basisData, 'newVersionDeps', this.$refs.apiOtherInfo.relationshipCount > 0);
|
||||
if (this.$refs.apiOtherInfo.relationshipCount > 0 || this.basisData.remark) {
|
||||
this.createNewVersionVisible = true;
|
||||
} else {
|
||||
|
|
|
@ -468,8 +468,8 @@ export default {
|
|||
create(row) {
|
||||
// 创建新版本
|
||||
this.basisData.versionId = row.id;
|
||||
this.basisData.newVersionRemark = !!this.basisData.remark;
|
||||
this.basisData.newVersionDeps = this.$refs.apiOtherInfo.relationshipCount > 0;
|
||||
this.$set(this.basisData, 'newVersionRemark', !!this.basisData.remark);
|
||||
this.$set(this.basisData, 'newVersionDeps', this.$refs.apiOtherInfo.relationshipCount > 0);
|
||||
if (this.$refs.apiOtherInfo.relationshipCount > 0 || this.basisData.remark) {
|
||||
this.createNewVersionVisible = true;
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue