BUG 27518
This commit is contained in:
@@ -56,7 +56,8 @@ export default {
|
||||
type: Boolean,
|
||||
default: false
|
||||
},
|
||||
isForm: Boolean
|
||||
isForm: Boolean,
|
||||
valueLevel: 5
|
||||
},
|
||||
computed: {
|
||||
...mapState(['user']),
|
||||
@@ -192,7 +193,7 @@ export default {
|
||||
},
|
||||
getChild(op) {
|
||||
if (op.id != this.index) {
|
||||
if (op.type < 5 && (/0{3}$/g.test(this.index) || !this.index)) {
|
||||
if (op.type <= this.valueLevel && op.type < 5 && (/0{3}$/g.test(this.index) || !this.index)) {
|
||||
this.fullArea.push(op)
|
||||
this.getChildAreas(op.id)
|
||||
}
|
||||
|
||||
@@ -4,9 +4,7 @@
|
||||
<slot/>
|
||||
</div>
|
||||
<div v-else class="display" @tap="handleShowOptions">
|
||||
<div class="selectedLabel" v-if="selectedLabel">{{ selectedLabel }}</div>
|
||||
<i v-else>{{ placeholder }}</i>
|
||||
<u-icon name="arrow-right" color="#ddd"/>
|
||||
<u-icon :label="selectedLabel||placeholder" label-post="left" name="arrow-right" color="#ddd"/>
|
||||
</div>
|
||||
<u-select v-model="show" :list="options" :mode="mode" @confirm="handleConfirm"/>
|
||||
</section>
|
||||
|
||||
Reference in New Issue
Block a user