微信API

This commit is contained in:
2023-01-31 14:58:42 +08:00
parent 13cf902ce2
commit c8a16e91b6
6 changed files with 128 additions and 35 deletions

View File

@@ -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()
}