Skip to content

Commit

Permalink
更新 demo
Browse files Browse the repository at this point in the history
  • Loading branch information
dwqs committed Dec 25, 2017
1 parent a04a350 commit 34f7a92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gh/components/main/cas-default-value.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<pre><code>{{selected}}</code></pre>
</div>
<div class="original-code" ref="original" v-if="shown">
<pre><code><span>//绑定默认值selected=['440000','440300','440305'],代码对应的区域文本是['广东省', '深圳市', '南山区']</span><br /><span>&lt;</span>template<span>&gt;</span><br/>&nbsp;&nbsp;&nbsp;&nbsp;<span>&lt;</span>area-cascader&nbsp;:level="2"&nbsp;v-model='selected'&gt;&lt;/area-cascader&gt;<br/>&lt;</span>/template<span>&gt;</span></code></pre>
<pre><code><span>//绑定默认值selected=['440000','440300','440305'],代码对应的区域文本是['广东省', '深圳市', '南山区']</span><br /><span>&lt;</span>template<span>&gt;</span><br/>&nbsp;&nbsp;&nbsp;&nbsp;<span>&lt;</span>area-cascader&nbsp;:level="1"&nbsp;v-model='selected'&gt;&lt;/area-cascader&gt;<br/>&lt;</span>/template<span>&gt;</span></code></pre>
</div>
<div class="show-code" @click="toggle">
{{this.shown ? 'Hide Code' : 'Show Code'}}
Expand Down

0 comments on commit 34f7a92

Please sign in to comment.