|
@@ -42,15 +42,13 @@
|
|
|
if (window.lli && typeof window.lli.encode === 'function') {
|
|
|
} else {
|
|
|
const script = document.createElement('script')
|
|
|
- //#ifndef H5
|
|
|
+ // #ifdef H5
|
|
|
script.src = '/static/encode.js'
|
|
|
- console.log(1111)
|
|
|
- //#endif
|
|
|
+ // #endif
|
|
|
|
|
|
- //#ifdef APP-PLUS
|
|
|
+ // #ifdef APP-PLUS
|
|
|
script.src = 'static/encode.js'
|
|
|
- console.log(2222)
|
|
|
- //#endif
|
|
|
+ // #endif
|
|
|
|
|
|
|
|
|
document.head.appendChild(script)
|