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.
12 lines
291 B
12 lines
291 B
8 years ago
|
const address = require('../../utils/address.js')
|
||
|
|
||
|
Page({
|
||
|
formSubmit: function(e) {
|
||
|
address.postAddress(e.detail.value)
|
||
|
console.log('form发生了submit事件,携带数据为:', e.detail.value)
|
||
|
},
|
||
|
formReset: function(e) {
|
||
|
console.log('form发生了reset事件')
|
||
|
}
|
||
|
})
|