update issue guide
This commit is contained in:
parent
0819648cd0
commit
427dd34f0a
2 changed files with 29 additions and 14 deletions
15
.github/ISSUE_TEMPLATE.md
vendored
15
.github/ISSUE_TEMPLATE.md
vendored
|
@ -1,11 +1,3 @@
|
|||
<!--
|
||||
IMPORTANT: Please use the following link to create a new issue:
|
||||
|
||||
https://www.iviewui.com/new-issue
|
||||
|
||||
If your issue was not created using the app above, it will be closed immediately.
|
||||
-->
|
||||
|
||||
<!--
|
||||
注意:请使用下面的链接来新建 issue:
|
||||
|
||||
|
@ -13,3 +5,10 @@ If your issue was not created using the app above, it will be closed immediately
|
|||
|
||||
不是用上面的链接创建的 issue 会被立即关闭。
|
||||
-->
|
||||
<!--
|
||||
IMPORTANT: Please use the following link to create a new issue:
|
||||
|
||||
https://www.iviewui.com/new-issue
|
||||
|
||||
If your issue was not created using the app above, it will be closed immediately.
|
||||
-->
|
||||
|
|
|
@ -1,17 +1,27 @@
|
|||
<template>
|
||||
<div style="width: 200px;margin: 100px;">
|
||||
<Cascader :data="data" v-model="value1" trigger="hover"></Cascader>
|
||||
</div>
|
||||
<Cascader v-model="value3" :data="data" filterable @on-change="hc"></Cascader>
|
||||
</template>
|
||||
<script>
|
||||
export default {
|
||||
data () {
|
||||
return {
|
||||
value1: [],
|
||||
data: [{
|
||||
value: 'beijing',
|
||||
label: '北京',
|
||||
children: []
|
||||
children: [
|
||||
{
|
||||
value: 'gugong',
|
||||
label: '故宫'
|
||||
},
|
||||
{
|
||||
value: 'tiantan',
|
||||
label: '天坛'
|
||||
},
|
||||
{
|
||||
value: 'wangfujing',
|
||||
label: '王府井'
|
||||
}
|
||||
]
|
||||
}, {
|
||||
value: 'jiangsu',
|
||||
label: '江苏',
|
||||
|
@ -41,7 +51,13 @@
|
|||
]
|
||||
}
|
||||
],
|
||||
}]
|
||||
}],
|
||||
value3: []
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
hc (a,b) {
|
||||
console.log(a,b)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue