From cf6e51fb8fff404850c2c3bf94e5f099dba86311 Mon Sep 17 00:00:00 2001 From: jakeallen Date: Thu, 29 Feb 2024 12:35:12 +0800 Subject: [PATCH] backhend --- src/components/Aside.vue | 914 ++++++++++++++++++++------------------- 1 file changed, 473 insertions(+), 441 deletions(-) diff --git a/src/components/Aside.vue b/src/components/Aside.vue index f373e9b..60a8d32 100644 --- a/src/components/Aside.vue +++ b/src/components/Aside.vue @@ -4,470 +4,502 @@ export default { props:{ isCollapse: Boolean, logoTextShow: Boolean + }, + data(){ + return{ + personnelChoose:true + } + }, + methods:{ + showSample1(){ + const sentences = [ + "这是第1句话。", + "这是第2句话。", + "这是第3句话。", + "这是第4句话。", + "这是第5句话。", + "这是第6句话。", + "这是第7句话。", + "这是第8句话。", + "这是第9句话。", + "这是第10句话。" + ]; + alert(sentences.join('\n')); + }, + isSelectedPersonnelRecognition() { + return this.personnelChoose; + }, + handlePersonnelSelect(){ + this.personnelChoose = !this.personnelChoose; + } } }