123456789101112131415161718192021 |
- export const myInit = (that) => {
- that.setData({
- myData: {
- title: '修改资料',
- imgUrl: 'https://developers.weixin.qq.com/miniprogram/dev/image/cat/0.jpg?t=18102320',
- name: 'ABC',
- address:['北京海淀','中关村','三小'],
- playNum: 31549,
- attentionCount: 10254,
- point: 6317,
- flowerNum: 56245
- }
- })
- that.toMyEdit = (e) => {
- let title = e.currentTarget.dataset.title;
- wx.navigateTo({
- url: `../user/myEdit/myEdit?title=${title}`
- });
- }
- }
|