fix: set selector props and update configuration panel styles (#175)

This commit is contained in:
Fine0830
2022-10-25 16:48:49 +08:00
committed by GitHub
parent eda44db0cd
commit 4232161d36
4 changed files with 10 additions and 2 deletions

View File

@@ -18,7 +18,6 @@ limitations under the License. -->
v-model="selected"
:placeholder="placeholder"
@change="changeSelected"
filterable
:multiple="multiple"
:disabled="disabled"
:style="{ borderRadius }"
@@ -26,6 +25,7 @@ limitations under the License. -->
:remote="isRemote"
:reserve-keyword="isRemote"
:remote-method="remoteMethod"
:filterable="filterable"
>
<el-option
v-for="item in options"
@@ -66,6 +66,7 @@ const props = defineProps({
disabled: { type: Boolean, default: false },
clearable: { type: Boolean, default: false },
isRemote: { type: Boolean, default: false },
filterable: { type: Boolean, default: true },
});
const selected = ref<string[] | string>(props.value);