31 lines
487 B
JavaScript
31 lines
487 B
JavaScript
// components/addaddress/shuru/shuru.js
|
|
Component({
|
|
/**
|
|
* 组件的属性列表
|
|
*/
|
|
properties: {
|
|
left: String,
|
|
right: String,
|
|
ifarrow: Boolean,
|
|
},
|
|
|
|
/**
|
|
* 组件的初始数据
|
|
*/
|
|
data: {
|
|
|
|
},
|
|
|
|
/**
|
|
* 组件的方法列表
|
|
*/
|
|
methods: {
|
|
get(e){
|
|
// console.log(e)
|
|
this.triggerEvent('myevent', e.detail.value)
|
|
},
|
|
choose(e){
|
|
|
|
}
|
|
}
|
|
}) |