From 43f07b1392b57be8f4cfeaafb5b83a531d48c4dd Mon Sep 17 00:00:00 2001 From: LiaoYijun Date: Tue, 17 Dec 2024 09:16:32 +0800 Subject: [PATCH 1/2] =?UTF-8?q?feat:=20=E5=A2=9E=E5=8A=A0=20WA=20=E4=BA=8C?= =?UTF-8?q?=E7=BB=B4=E7=A0=81=E7=94=9F=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/accounts/Profile.jsx | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/src/views/accounts/Profile.jsx b/src/views/accounts/Profile.jsx index a31c7fd..452c144 100644 --- a/src/views/accounts/Profile.jsx +++ b/src/views/accounts/Profile.jsx @@ -1,5 +1,5 @@ -import { useEffect, useCallback } from 'react' -import { Row, Col, Space, Descriptions, Avatar, Tag, Divider, List, App, Button, Flex, Select, Spin, Form, Typography, QRCode, Tooltip } from 'antd' +import { useEffect, useCallback, useState } from 'react' +import { Row, Col, Space, Input, Descriptions, Avatar, Tag, Divider, List, App, Button, Flex, Select, Spin, Form, Typography, QRCode, Tooltip } from 'antd' import { UserOutlined, InfoCircleOutlined, ReloadOutlined, CheckCircleFilled } from '@ant-design/icons' import useAuthStore from '@/stores/AuthStore' @@ -9,6 +9,8 @@ function Profile() { const [loginUser, setWhatsAppBusiness] = useAuthStore((state) => [state.loginUser, state.setWhatsAppBusiness]) + const [text, setText] = useState('') + useEffect(() => { // 测试错误捕获: // throw new Error('💥 CABOOM 💥') @@ -182,7 +184,12 @@ function Profile() { - + setText(e.target.value)} + /> + From 35330bee51c9290b7add6f95dce7afe6e282ca27 Mon Sep 17 00:00:00 2001 From: LiaoYijun Date: Tue, 17 Dec 2024 09:16:41 +0800 Subject: [PATCH 2/2] 1.2.1-beta.3 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 19f474c..839802c 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "global-sales", "private": true, - "version": "1.2.1-beta.2", + "version": "1.2.1-beta.3", "type": "module", "scripts": { "dev": "vite",