feat:设置条件绑定视图

This commit is contained in:
fit2cloud-chenyw
2021-04-19 15:31:03 +08:00
parent 153ac35701
commit 5af4158dc4
8 changed files with 127 additions and 15 deletions

View File

@@ -1,6 +1,6 @@
<template>
<el-select v-if="options!== null && options.attrs!==null" v-model="options.value" :style="element.style" :placeholder="options.attrs.placeholder" @change="changeValue">
<el-select v-if="options!== null && options.attrs!==null" v-model="options.value" :multiple="options.attrs.multiple" :style="element.style" :placeholder="options.attrs.placeholder" @change="changeValue">
<el-option
v-for="item in options.attrs.datas"
:key="item[options.attrs.key]"