Skip to content

Commit

Permalink
fix: eslint ignore MobLink function call
Browse files Browse the repository at this point in the history
  • Loading branch information
mutoe committed Nov 28, 2018
1 parent fc2d0da commit 467aa52
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions resources/spa/src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ if (process.env.VUE_APP_MOBLINK_ENABLE) {
script.type = 'text/javascript'
script.src = `//f.moblink.mob.com/3.0.1/moblink.js?appkey=${key}`
script.onload = () => {
// eslint-disable-next-line
MobLink({ path: location.href })
}
document.querySelector('body').appendChild(script)
Expand Down

0 comments on commit 467aa52

Please sign in to comment.