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