fixed #718
This commit is contained in:
parent
59e1a7c6c1
commit
83b7388598
4 changed files with 15 additions and 44 deletions
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<div>
|
||||
<div style="width: 400px;margin: 200px;">
|
||||
<Collapse v-model="v1" accordion>
|
||||
<Panel name="1">
|
||||
史蒂夫·乔布斯
|
||||
|
|
|
@ -1,50 +1,18 @@
|
|||
<template>
|
||||
<Row>
|
||||
<i-col span="12" style="padding-right:10px">
|
||||
<Select v-model="model11" filterable>
|
||||
<Option v-for="item in cityList" :value="item.value" :key="item">{{ item.label }}</Option>
|
||||
</Select>
|
||||
</i-col>
|
||||
<i-col span="12">
|
||||
<Select v-model="model12" filterable multiple>
|
||||
<Option v-for="item in cityList" :value="item.value" :key="item">{{ item.label }}</Option>
|
||||
</Select>
|
||||
</i-col>
|
||||
</Row>
|
||||
<Select v-model="fields.pid" filterable>
|
||||
<Option :value="0" label="一级菜单"></Option>
|
||||
<Option :value="1" label="二级菜单"></Option>
|
||||
</Select>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
data () {
|
||||
return {
|
||||
cityList: [
|
||||
{
|
||||
value: 'beijing',
|
||||
label: '北京市'
|
||||
},
|
||||
{
|
||||
value: 'shanghai',
|
||||
label: '上海市'
|
||||
},
|
||||
{
|
||||
value: 'shenzhen',
|
||||
label: '深圳市'
|
||||
},
|
||||
{
|
||||
value: 'hangzhou',
|
||||
label: '杭州市'
|
||||
},
|
||||
{
|
||||
value: 'nanjing',
|
||||
label: '南京市'
|
||||
},
|
||||
{
|
||||
value: 'chongqing',
|
||||
label: '重庆市'
|
||||
}
|
||||
],
|
||||
model11: '',
|
||||
model12: []
|
||||
fields: {
|
||||
pid: 0
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
</script>
|
Loading…
Add table
Add a link
Reference in a new issue