@@ -141,6 +141,15 @@
() => {
// console.info('JS_Play success')
// do you want...
+ //开启声音
+ this.myPlugin.JS_OpenSound().then(
+ () => {
+ console.log('openSound success')
+ },
+ e => {
+ console.error('声音开启失败',e)
+ }
+ )
},
(err) => {
// console.info('JS_Play failed:', err)