diff --git a/webfe/package_vue/src/components/user/member-selector/member-selector.vue b/webfe/package_vue/src/components/user/member-selector/member-selector.vue index 7218e3f899..464daf960a 100644 --- a/webfe/package_vue/src/components/user/member-selector/member-selector.vue +++ b/webfe/package_vue/src/components/user/member-selector/member-selector.vue @@ -148,9 +148,12 @@ }, methods: { handleClick () { - this.$refs.tagInput.focusInputer(); - if (!this.needsLogin || this.disabled) return; - this.popupLogin(); + // 解决 focus 直接覆盖了清空事件 + setTimeout(() => { + this.$refs.tagInput.focusInputer(); + if (!this.needsLogin || this.disabled) return; + this.popupLogin(); + }, 0); }, /** * 过滤数据的回调函数 diff --git a/webfe/package_vue/src/views/dev-center/app/engine/cloud-deploy-manage/comps/deploy-dialog.vue b/webfe/package_vue/src/views/dev-center/app/engine/cloud-deploy-manage/comps/deploy-dialog.vue index 50fd7b2713..9405ef4ff3 100644 --- a/webfe/package_vue/src/views/dev-center/app/engine/cloud-deploy-manage/comps/deploy-dialog.vue +++ b/webfe/package_vue/src/views/dev-center/app/engine/cloud-deploy-manage/comps/deploy-dialog.vue @@ -67,8 +67,11 @@