Skip to content

Commit

Permalink
update issue guide
Browse files Browse the repository at this point in the history
  • Loading branch information
icarusion committed Nov 2, 2017
1 parent 0819648 commit 427dd34
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 11 deletions.
9 changes: 4 additions & 5 deletions .github/ISSUE_TEMPLATE.md
@@ -1,15 +1,14 @@
<!--
IMPORTANT: Please use the following link to create a new issue:
注意:请使用下面的链接来新建 issue
https://www.iviewui.com/new-issue
If your issue was not created using the app above, it will be closed immediately.
不是用上面的链接创建的 issue 会被立即关闭。
-->

<!--
注意:请使用下面的链接来新建 issue
IMPORTANT: Please use the following link to create a new issue:
https://www.iviewui.com/new-issue
不是用上面的链接创建的 issue 会被立即关闭。
If your issue was not created using the app above, it will be closed immediately.
-->
28 changes: 22 additions & 6 deletions examples/routers/cascader.vue
@@ -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: '江苏',
Expand Down Expand Up @@ -41,7 +51,13 @@
]
}
],
}]
}],
value3: []
}
},
methods: {
hc (a,b) {
console.log(a,b)
}
}
}
Expand Down

0 comments on commit 427dd34

Please sign in to comment.