From bd9a846a15e769fd497cb677d4616e0ada9ba7dd Mon Sep 17 00:00:00 2001 From: duqingquan Date: Thu, 21 Dec 2023 15:14:17 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=9A=E5=AE=9E=E4=BE=8B=E5=88=9B=E5=BB=BA?= =?UTF-8?q?=20=E6=B5=8B=E8=AF=95=E4=BB=A3=E7=A0=81=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/SyntaxCase/instanceTest.uvue | 7 +++---- pages/SyntaxCase/instanceTest.vue | 7 +++---- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/pages/SyntaxCase/instanceTest.uvue b/pages/SyntaxCase/instanceTest.uvue index 4c15b71..2f78444 100644 --- a/pages/SyntaxCase/instanceTest.uvue +++ b/pages/SyntaxCase/instanceTest.uvue @@ -22,12 +22,11 @@ instanceCreate() { const user1 = new User("张三", 20); - let userText1 = user1.describeSelf() - const user2 = new User("李四", 30); - let userText2 = user2.describeSelf() - const user3 = new User("王五", 40); + + let userText1 = user1.describeSelf() + let userText2 = user2.describeSelf() let userText3 = user3.describeSelf() diff --git a/pages/SyntaxCase/instanceTest.vue b/pages/SyntaxCase/instanceTest.vue index 4c15b71..63f10a3 100644 --- a/pages/SyntaxCase/instanceTest.vue +++ b/pages/SyntaxCase/instanceTest.vue @@ -22,12 +22,11 @@ instanceCreate() { const user1 = new User("张三", 20); - let userText1 = user1.describeSelf() - const user2 = new User("李四", 30); - let userText2 = user2.describeSelf() - const user3 = new User("王五", 40); + + let userText1 = user1.describeSelf() + let userText2 = user2.describeSelf() let userText3 = user3.describeSelf() -- GitLab