Skip to content

Commit

Permalink
fix(shared): reword,对齐百度小程序广告组件属性,fix NervJS#8018
Browse files Browse the repository at this point in the history
  • Loading branch information
Chen-jj authored and shinken008 committed Jan 19, 2021
1 parent f82d80f commit 0805d8e
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions packages/shared/src/components.ts
Original file line number Diff line number Diff line change
Expand Up @@ -674,13 +674,24 @@ const Canvas = {
}

const Ad = {
'unit-id': '',
'ad-intervals': '',
'ad-type': singleQuote('banner'),
'ad-theme': singleQuote('white'),
bindLoad: '',
bindError: '',
bindClose: ''
bindClose: '',
...selectEnv({
swan: {
appid: '',
apid: '',
type: singleQuote('feed'),
updatetime: '',
bindStatus: ''
},
default: {
'unit-id': ''
}
})
}

const OfficialAccount = {
Expand Down

0 comments on commit 0805d8e

Please sign in to comment.