删除多出来的代码,这些会在安装插件时添加上,应该是 cordova plugin 的安装机制。

This commit is contained in:
2026-01-17 13:24:11 +08:00
parent 46ecac9101
commit b2b4a0e277

View File

@@ -1,4 +1,3 @@
cordova.define("cordova-shuto-api.ShutoApi", function(require, exports, module) {
var exec = require('cordova/exec');
// 初始化插件对象
@@ -57,5 +56,3 @@ function onEvent(eventData) {
exec(onEvent, null, 'ShutoApi', 'registerEvent', []);
module.exports = ShutoApi;
});