From dc5c26bba870e2c8ab3b01ac1da8bf619c706bfe Mon Sep 17 00:00:00 2001
From: zhongrj <646384940@qq.com>
Date: Mon, 22 Apr 2024 15:52:24 +0800
Subject: [PATCH] 用户登录修改
---
src/views/article/components/deitDiscussion.vue | 18 ++++++++++--------
1 files changed, 10 insertions(+), 8 deletions(-)
diff --git a/src/views/article/components/deitDiscussion.vue b/src/views/article/components/deitDiscussion.vue
index 1f9795d..cfa2392 100644
--- a/src/views/article/components/deitDiscussion.vue
+++ b/src/views/article/components/deitDiscussion.vue
@@ -424,11 +424,13 @@
}
data = Qs.stringify(data)
exportBlob(
- `/api/blade-userTopics/userTopics/exportUser?${this.website.tokenHeader}=${getToken()}&` + data).then(
- res => {
- downloadXls(res.data, `投票人员${dateNow()}.xlsx`)
- NProgress.done()
- })
+ `/api/blade-userTopics/userTopics/exportUser?${this.website.tokenHeader}=${getToken()}&` + data)
+ .then(
+ res => {
+ downloadXls(res.data, `投票人员${dateNow()}.xlsx`)
+ NProgress.done()
+ })
+
})
},
@@ -461,7 +463,7 @@
done()
},
- openUser(row, type = 0) {
+ openUser(row, type) {
this.type = type
this.popupTableUserShow = true
this.query = {}
@@ -661,7 +663,7 @@
this.userPage.total = data.total
this.userData = data.records
this.userData.forEach(item => {
- if (item.avatar.length > 0) {
+ if (item.avatar) {
item.avatar = website.minioUrl + item.avatar
}
if (item.signaturePath && item.signaturePath.length > 0) {
@@ -684,4 +686,4 @@
}
</script>
-<style lang="scss" scoped></style>
\ No newline at end of file
+<style lang="scss" scoped></style>
--
Gitblit v1.9.3