From 74960e7d4f3042fb9e0ec54af823a360d4aa2bbe Mon Sep 17 00:00:00 2001
From: liuwh <964324856@qq.com>
Date: Tue, 17 Sep 2024 17:17:45 +0800
Subject: [PATCH] 提交

---
 gz-wxparty/pages/speechToText/index.js |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/gz-wxparty/pages/speechToText/index.js b/gz-wxparty/pages/speechToText/index.js
index a540c8f..28eafb2 100644
--- a/gz-wxparty/pages/speechToText/index.js
+++ b/gz-wxparty/pages/speechToText/index.js
@@ -166,11 +166,14 @@
    */
   onLoad(options) {
     let {
-      type
+      type,
+      value
     } = options
     console.log('type', type);
     this.setData({
-      key: type
+      key: type,
+      value,
+      number: value?.length || 0,
     })
     wx.getSetting({
       success(res) {

--
Gitblit v1.8.0