1
0
mirror of https://gitee.com/vant-contrib/vant-weapp.git synced 2025-04-24 10:22:36 +08:00

[improvement] 减小demo小程序体积 ()

This commit is contained in:
rex 2018-10-10 11:20:47 +08:00 committed by neverland
parent 69db8e9d19
commit 45a1cd669c
2 changed files with 9 additions and 3787 deletions
example/pages/area

File diff suppressed because it is too large Load Diff

@ -1,5 +1,4 @@
import Page from '../../common/page';
import AreaList from './area';
Page({
data: {
@ -9,12 +8,15 @@ Page({
},
onShow() {
setTimeout(() => {
wx.request({
url: 'https://cashier.youzan.com/pay/wsctrade/order/buy/getAllRegion.json',
success: response => {
this.setData({
loading: false,
areaList: AreaList
areaList: response.data.data
});
}
});
}, 1500);
},
onChange(event) {