Skip to content

Commit

Permalink
fix: remove plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
yigger committed May 15, 2020
1 parent fc2a04d commit e5cf06a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
8 changes: 1 addition & 7 deletions src/app.wpy
Original file line number Diff line number Diff line change
Expand Up @@ -117,13 +117,7 @@ export default class extends wepy.app {
"desc": "您的位置信息将用于记录账单的地理位置"
}
},
debug: false,
"plugins": {
"calendar": {
"version": "1.1.3",
"provider": "wx92c68dae5a8bb046"
}
}
debug: false
}

globalData = {
Expand Down
3 changes: 2 additions & 1 deletion src/pages/setting.wpy
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@
import wxRequest from '@/utils/wxRequest'
import tip from '@/utils/tip'
import Session from '@/utils/session'
import Host from '@/utils/host'

export default class Setting extends wepy.page {
config = {
Expand Down Expand Up @@ -217,7 +218,7 @@
return {
title: '推荐你使用洁账',
path: '/pages/index',
imageUrl: 'https://xiaoyounger.com/covers/default-11.jpeg',
imageUrl: `${Host.host}/covers/default-11.jpeg`,
success: async function (res) {
tip.toast('感谢支持')
await wxRequest.Post('settings/recommend', { ticket: res['shareTickets'][0] })
Expand Down

0 comments on commit e5cf06a

Please sign in to comment.