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