From 34a8e63b6fabc634481cc6e5c47225a148898032 Mon Sep 17 00:00:00 2001 From: zhaofengliang Date: Mon, 17 Jun 2024 17:38:51 +0800 Subject: [PATCH] =?UTF-8?q?iOS=EF=BD=9C=20=E6=9B=B4=E6=94=B9button?= =?UTF-8?q?=E5=AE=9E=E4=BE=8B=EF=BC=8C=E5=8A=A8=E6=80=81=E5=88=9D=E5=A7=8B?= =?UTF-8?q?=E5=8C=96button=E6=96=87=E5=AD=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/component/button/button.uvue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pages/component/button/button.uvue b/pages/component/button/button.uvue index 11e682f3..e511c7fb 100644 --- a/pages/component/button/button.uvue +++ b/pages/component/button/button.uvue @@ -11,8 +11,11 @@ type_enum: [{ "value": 0, "name": "default" }, { "value": 1, "name": "primary" }, { "value": 2, "name": "warn" }] as ItemType[], type_enum_current: 0, count: 0, - text: 'uni-app-x' + text: '' } + }, + onReady() { + this.text = 'uni-app-x' }, methods: { button_click() { -- GitLab