微信API
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
const app = getApp()
|
||||
Page({
|
||||
data: {
|
||||
progress: 89,
|
||||
@@ -17,6 +18,9 @@ Page({
|
||||
onLoad: function (options) {
|
||||
},
|
||||
onShow: function () {
|
||||
app.$api.taskList().then(x => {
|
||||
console.log(x);
|
||||
})
|
||||
if (wx.canIUse('hideHomeButton')) {
|
||||
wx.hideHomeButton()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user