Compare commits
2 Commits
f8999ef0be
...
145096be9f
Author | SHA1 | Date | |
---|---|---|---|
145096be9f | |||
a7f0c20b6f |
@ -19,6 +19,6 @@
|
|||||||
|
|
||||||
<preference name="GradlePluginKotlinEnabled" value="true" />
|
<preference name="GradlePluginKotlinEnabled" value="true" />
|
||||||
<preference name="GradlePluginKotlinCodeStyle" value="official" />
|
<preference name="GradlePluginKotlinCodeStyle" value="official" />
|
||||||
<preference name="GradlePluginKotlinVersion" value="1.3.50" />
|
<preference name="GradlePluginKotlinVersion" value="1.6.10" />
|
||||||
<preference name="AndroidXEnabled" value="true" />
|
<preference name="AndroidXEnabled" value="true" />
|
||||||
</widget>
|
</widget>
|
||||||
|
5758
package-lock.json
generated
5758
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -36,6 +36,7 @@
|
|||||||
"cordova-plugin-screen-orientation": "^3.0.2",
|
"cordova-plugin-screen-orientation": "^3.0.2",
|
||||||
"cordova-plugin-splashscreen": "^6.0.1",
|
"cordova-plugin-splashscreen": "^6.0.1",
|
||||||
"cordova-plugin-statusbar": "^3.0.0",
|
"cordova-plugin-statusbar": "^3.0.0",
|
||||||
|
"cordova-plugin-test-tl": "^1.1.11",
|
||||||
"cordova-plugin-vibration": "^3.1.1",
|
"cordova-plugin-vibration": "^3.1.1",
|
||||||
"es6-promise-plugin": "^4.2.2",
|
"es6-promise-plugin": "^4.2.2",
|
||||||
"phonegap-plugin-barcodescanner-fix": "^8.1.1",
|
"phonegap-plugin-barcodescanner-fix": "^8.1.1",
|
||||||
@ -73,7 +74,9 @@
|
|||||||
},
|
},
|
||||||
"cordova-plugin-file-transfer-jsg": {},
|
"cordova-plugin-file-transfer-jsg": {},
|
||||||
"cordova-plugin-app-version": {},
|
"cordova-plugin-app-version": {},
|
||||||
"cordova-plugin-file-opener2": {}
|
"cordova-plugin-file-opener2": {},
|
||||||
|
"cordova-plugin-test-tl": {},
|
||||||
|
"cordova-plugin-file-transfer": {}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
3557
pnpm-lock.yaml
Normal file
3557
pnpm-lock.yaml
Normal file
File diff suppressed because it is too large
Load Diff
@ -26,6 +26,7 @@
|
|||||||
<el-button @click="docPrint">文件打印</el-button>
|
<el-button @click="docPrint">文件打印</el-button>
|
||||||
<el-button @click="versionCheck">版本升级</el-button>
|
<el-button @click="versionCheck">版本升级</el-button>
|
||||||
<el-button @click="installAPK" type="danger">安装apk</el-button>
|
<el-button @click="installAPK" type="danger">安装apk</el-button>
|
||||||
|
<el-button @click="customPlugin">自定义插件</el-button>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
<script src="https://unpkg.com/vconsole@latest/dist/vconsole.min.js"></script>
|
<script src="https://unpkg.com/vconsole@latest/dist/vconsole.min.js"></script>
|
||||||
@ -40,6 +41,19 @@
|
|||||||
}, 600);
|
}, 600);
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
customPlugin() {
|
||||||
|
console.log(cordovaTest);
|
||||||
|
cordovaTest.coolMethod(
|
||||||
|
"param",
|
||||||
|
(res) => {
|
||||||
|
console.log(res);
|
||||||
|
this.$message.success(res);
|
||||||
|
},
|
||||||
|
(e) => {
|
||||||
|
this.$message.error(e);
|
||||||
|
}
|
||||||
|
);
|
||||||
|
},
|
||||||
installAPK() {
|
installAPK() {
|
||||||
let url = "http://3000.taoya.art/app.apk";
|
let url = "http://3000.taoya.art/app.apk";
|
||||||
var filename = url.split("/").pop();
|
var filename = url.split("/").pop();
|
||||||
|
Loading…
Reference in New Issue
Block a user