diff --git a/api-test/frontend/src/business/definition/components/complete/ApiBaseInfo.vue b/api-test/frontend/src/business/definition/components/complete/ApiBaseInfo.vue index bd2df9036b..2bd3d5228a 100644 --- a/api-test/frontend/src/business/definition/components/complete/ApiBaseInfo.vue +++ b/api-test/frontend/src/business/definition/components/complete/ApiBaseInfo.vue @@ -172,14 +172,14 @@ export default { }, 'basicForm.description': { handler(v, v1) { - if (v && v1 && v !== v1) { + if (v && v !== v1) { this.apiMapStatus(); } } }, 'basicForm.tags': { handler(v, v1) { - if (v && v1 && JSON.stringify(v) !== JSON.stringify(v1) && v1.length !== 0) { + if (v && v1 && JSON.stringify(v) !== JSON.stringify(v1)) { this.apiMapStatus(); } }