From d6f82cf91a47ea4f2136ec8eeb4ceede7edb33f7 Mon Sep 17 00:00:00 2001 From: lyc Date: Wed, 17 Jul 2024 19:35:51 +0800 Subject: [PATCH 1/5] =?UTF-8?q?=E8=B5=84=E6=BA=90=E6=A8=A1=E5=9D=97?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/select-subject/index.vue | 4 ++-- .../src/components/upload-dialog/index.vue | 2 +- .../resource/container/resoure-search.vue | 3 +-- src/renderer/src/views/resource/index.vue | 21 +++---------------- src/renderer/src/views/resource/store.js | 11 ++++++---- 5 files changed, 14 insertions(+), 27 deletions(-) diff --git a/src/renderer/src/components/select-subject/index.vue b/src/renderer/src/components/select-subject/index.vue index 816fc1e..3685ae4 100644 --- a/src/renderer/src/components/select-subject/index.vue +++ b/src/renderer/src/components/select-subject/index.vue @@ -112,8 +112,8 @@ const editUserInfo = async () =>{ const data = { userId, userName, - edustage: subjectVal.value, - edusubject: gradeVal.value + edustage: gradeVal.value, + edusubject: subjectVal.value } await updateUserInfo(data) await userStore.getInfo() diff --git a/src/renderer/src/components/upload-dialog/index.vue b/src/renderer/src/components/upload-dialog/index.vue index 61df734..41df2f9 100644 --- a/src/renderer/src/components/upload-dialog/index.vue +++ b/src/renderer/src/components/upload-dialog/index.vue @@ -16,7 +16,7 @@
标题: - + .{{ getFileSuffix(item.name) }}
diff --git a/src/renderer/src/views/resource/container/resoure-search.vue b/src/renderer/src/views/resource/container/resoure-search.vue index 4500089..11cd9ba 100644 --- a/src/renderer/src/views/resource/container/resoure-search.vue +++ b/src/renderer/src/views/resource/container/resoure-search.vue @@ -8,7 +8,7 @@ }} - + @@ -36,7 +36,6 @@ import useResoureStore from '../store' const sourceStore = useResoureStore() -