fix
This commit is contained in:
parent
0756942f86
commit
af68801d1b
@ -280,7 +280,7 @@
|
|||||||
runSendService(
|
runSendService(
|
||||||
`${deviceInfo.value.productId}/${deviceInfo.value.deviceName}`,
|
`${deviceInfo.value.productId}/${deviceInfo.value.deviceName}`,
|
||||||
'channel=0',
|
'channel=0',
|
||||||
true
|
false
|
||||||
)
|
)
|
||||||
handlePlaySuccess()
|
handlePlaySuccess()
|
||||||
} else {
|
} else {
|
||||||
@ -491,7 +491,7 @@
|
|||||||
plus.io.resolveLocalFileSystemURL(filePath, entry => {
|
plus.io.resolveLocalFileSystemURL(filePath, entry => {
|
||||||
entry.file(
|
entry.file(
|
||||||
file => {
|
file => {
|
||||||
console.log(11111, file)
|
console.log('文件内容', file)
|
||||||
if (file.size === 0) return
|
if (file.size === 0) return
|
||||||
|
|
||||||
const fileReader = new plus.io.FileReader()
|
const fileReader = new plus.io.FileReader()
|
||||||
|
|||||||
@ -83,8 +83,8 @@ export const runSendService = async function (
|
|||||||
crypto: boolean
|
crypto: boolean
|
||||||
): Promise<Result> {
|
): Promise<Result> {
|
||||||
try {
|
try {
|
||||||
await XP2P.runSendService(id, cmd, crypto)
|
const result = await XP2P.runSendService(id, cmd, crypto)
|
||||||
console.log('开始发送服务')
|
console.log('开始发送服务', result)
|
||||||
return {
|
return {
|
||||||
code: 0,
|
code: 0,
|
||||||
data: {},
|
data: {},
|
||||||
@ -101,8 +101,8 @@ export const runSendService = async function (
|
|||||||
|
|
||||||
export const stopSendService = async function (id: string): Promise<Result> {
|
export const stopSendService = async function (id: string): Promise<Result> {
|
||||||
try {
|
try {
|
||||||
await XP2P.stopSendService(id, null)
|
const result = await XP2P.stopSendService(id, null)
|
||||||
console.log('停止发送服务')
|
console.log('停止发送服务', result)
|
||||||
return {
|
return {
|
||||||
code: 0,
|
code: 0,
|
||||||
data: {},
|
data: {},
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user