Commit 59acd45e by cocomilk2012

update

parent 8de32958
Showing with 3 additions and 1 deletions
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
<van-picker <van-picker
show-toolbar show-toolbar
title="标题" title="标题"
:loading="loading"
:columns="columns" :columns="columns"
@confirm="onConfirm" @confirm="onConfirm"
/> />
...@@ -23,7 +24,7 @@ export default class cityList extends Vue { ...@@ -23,7 +24,7 @@ export default class cityList extends Vue {
private province: any = ""; //省份 private province: any = ""; //省份
private city: any = []; //市份 private city: any = []; //市份
private area: any = ""; //区,县 private area: any = ""; //区,县
private loading: boolean = true;
private columns: any = [ private columns: any = [
{ {
id: 0, id: 0,
...@@ -95,6 +96,7 @@ export default class cityList extends Vue { ...@@ -95,6 +96,7 @@ export default class cityList extends Vue {
}); });
}); });
}); });
this.loading = false;
} }
onConfirm(values: any) { onConfirm(values: any) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment