WARNING: Module Warning (from ./node_modules/eslint-loader/index.js):
16:52:15.796 error: 'plus' is not defined (no-undef) at src\utils\set_app_permission.js:11:7:
16:52:15.802 9 | let system = uni.getSystemInfoSync(); // 获取系统信息
16:52:15.803 10 | if (system.platform == 'ios') { //IOS
16:52:15.809 > 11 | plus.runtime.openURL("app-settings://");
16:52:15.809 | ^
16:52:15.816 12 | } else if (system.platform == 'android') { //安卓
16:52:15.816 13 | let main = plus.android.runtimeMainActivity();
16:52:15.825 14 | var Intent = plus.android.importClass('android.content.Intent');
Colintao
- 发布:2020-08-12 16:54
- 更新:2020-08-12 16:54
- 阅读:1861
'plus' is not defined (no-undef) 怎么去除app 真机调试警告
分类:Native.js
0 个回复