diff --git a/src/components/CustomDropdown.vue b/src/components/CustomDropdown.vue index 801884f..5451897 100644 --- a/src/components/CustomDropdown.vue +++ b/src/components/CustomDropdown.vue @@ -35,7 +35,7 @@

暂时没有收款账号,我想稍后配置

- +
@@ -61,8 +61,8 @@ export default { } }, options_null: { - type: Object, - default: () => {}, + type: Boolean, + default: false, }, placeholder: { type: String, @@ -125,9 +125,9 @@ export default { }, toggleDropdown(e) { if(e) e.stopPropagation(); - if (!this.options || !this.options.length) { - console.warn('Dropdown options are empty'); - return; + if ((!this.options || !this.options.length) && !this.options_null) { + // console.warn('Dropdown options are empty'); + // return; } // 先通知所有下拉框关闭 EventBus.$emit('close-all-dropdowns') diff --git a/src/components/domainBind.vue b/src/components/domainBind.vue index 68b8914..669eb51 100644 --- a/src/components/domainBind.vue +++ b/src/components/domainBind.vue @@ -1,9 +1,9 @@