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.
|
const product = require('../../utils/my_assets.js') |
|
|
|
Page({ |
|
data: { |
|
}, |
|
|
|
onLoad: function() { |
|
var that = this |
|
|
|
product.getAsset(function(result) { |
|
var data = getApp().store.sync(result.data) |
|
that.setData({'my_assets': data}) |
|
wx.setStorage({ |
|
key: "my_assets", |
|
data: data |
|
}) |
|
}) |
|
} |
|
})
|
|
|