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.

20 lines
340 B

const product = require('../../utils/my_assets.js')
8 years ago
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
})
})
}
})