From 801df1b0dc8c57ea71c128ededb01530907ff986 Mon Sep 17 00:00:00 2001 From: tianwenzhe Date: Thu, 13 Apr 2023 16:39:44 +0800 Subject: [PATCH] add ture Signed-off-by: tian-wenzhe411 --- .../src/main/ets/pages/Player/PlayAudioList.ets | 4 ++-- .../src/main/ets/pages/Player/PlayVideoList.ets | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/validator/acts_validator/src/main/ets/pages/Player/PlayAudioList.ets b/validator/acts_validator/src/main/ets/pages/Player/PlayAudioList.ets index 54d2bc93c..63b064503 100644 --- a/validator/acts_validator/src/main/ets/pages/Player/PlayAudioList.ets +++ b/validator/acts_validator/src/main/ets/pages/Player/PlayAudioList.ets @@ -97,7 +97,7 @@ struct audioNew { let number = WriteTitle.length + 11; let Index = ColorBack.indexOf(WriteTitle); - if (this.result === 'true') { + if (this.result === 'true ') { this.ColorObject[this.current] = '#ff008000'; let Log = (titles + ';' + '#ff008000' + ';'); let key = ColorBack.substring(Index, Index + number); @@ -236,7 +236,7 @@ struct audioNew { .onClick(() => { router.back({ url: 'pages/Player/Player_index', - params: { result: 'true', title: this.name, + params: { result: 'true ', title: this.name, } }) prompt.showToast({ diff --git a/validator/acts_validator/src/main/ets/pages/Player/PlayVideoList.ets b/validator/acts_validator/src/main/ets/pages/Player/PlayVideoList.ets index d192e7445..3467ab431 100644 --- a/validator/acts_validator/src/main/ets/pages/Player/PlayVideoList.ets +++ b/validator/acts_validator/src/main/ets/pages/Player/PlayVideoList.ets @@ -97,7 +97,7 @@ struct videoNew { let number = WriteTitle.length + 11; let Index = ColorBack.indexOf(WriteTitle); - if (this.result === 'true') { + if (this.result === 'true ') { this.ColorObject[this.current] = '#ff008000'; let Log = (titles + ';' + '#ff008000' + ';'); let key = ColorBack.substring(Index, Index + number); @@ -237,7 +237,7 @@ struct videoNew { .onClick(() => { router.back({ url: this.Url, - params: { result: 'true', title: this.name, + params: { result: 'true ', title: this.name, } }) prompt.showToast({ -- GitLab