You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

27 lines
623 B

const address = require('../../utils/address.js')
Page({
data: {
arraySheng: ['美国', '中国', '巴西', '日本'],
indexSheng: 0,
},
bindPickerChange: function(e) {
console.log('picker发送选择改变,携带值为', e.detail.value)
this.setData({
indexSheng: e.detail.value
})
},
formSubmit: function(e) {
address.postAddress(e.detail.value)
console.log('form 发生了 submit 事件,携带数据为:', e.detail.value)
},
formReset: function(e) {
console.log('form 发生了 reset 事件')
},
onLoad (params) {
//this.data.sku = params.sku
}
})