diff --git a/src/components/select/select.vue b/src/components/select/select.vue index 97a8776..a97ce9e 100644 --- a/src/components/select/select.vue +++ b/src/components/select/select.vue @@ -26,7 +26,7 @@ - + @@ -199,6 +199,10 @@ const options = this.$slots.default || []; if (!this.loading && this.remote && this.query === '' && !options.length) status = false; return this.visible && status; + }, + notFountShow () { + const options = this.$slots.default || []; + return (this.notFound && !this.remote) || (this.remote && !this.loading && !options.length); } }, methods: { -- libgit2 0.21.4