Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
corporate-culture-qd
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
王立鹏
corporate-culture-qd
Commits
d375ee1a
Commit
d375ee1a
authored
Mar 19, 2026
by
lijiabin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
【需求 21096】 chore: 删除一些打印
parent
a668df7d
Show whitespace changes
Inline
Side-by-side
Showing
35 changed files
with
1 additions
and
71 deletions
+1
-71
index.vue
src/components/common/ArticleContent/index.vue
+0
-1
index.vue
src/components/common/Comment/index.vue
+0
-2
index.vue
src/components/common/CommentDialog/index.vue
+0
-1
index.vue
src/components/common/CommentListDialog/index.vue
+0
-4
index.vue
src/components/common/PublishBox/index.vue
+1
-7
index.vue
src/components/common/UploadFile/index.vue
+0
-4
index.vue
src/components/common/UploadVideo/index.vue
+0
-1
useScrollTop.tsx
src/hooks/useScrollTop.tsx
+0
-1
index.vue
src/layoutCulture/index.vue
+0
-3
scrollStorage.ts
src/router/scrollStorage.ts
+0
-3
column.ts
src/stores/column.ts
+0
-1
interview.ts
src/stores/interview.ts
+0
-1
tags.ts
src/stores/tags.ts
+0
-2
video.ts
src/stores/video.ts
+0
-1
error.ts
src/utils/request/error.ts
+0
-2
index.ts
src/utils/request/index.ts
+0
-1
index.ts
src/utils/wxUtil/index.ts
+0
-1
initWXConfig.ts
src/utils/wxUtil/initWXConfig.ts
+0
-2
exchangeGoodsRecordDilaog.vue
src/views/auction/components/exchangeGoodsRecordDilaog.vue
+0
-1
index.vue
src/views/auction/index.vue
+0
-1
index.vue
src/views/backend/contentsMenu/columnManage/index.vue
+0
-1
index.vue
src/views/backend/contentsMenu/interviewManage/index.vue
+0
-1
index.vue
src/views/backend/contentsMenu/questionManage/index.vue
+0
-10
lotteryConfigDialog.vue
...enu/dailyLotteryManage/components/lotteryConfigDialog.vue
+0
-1
recommendList.vue
src/views/homePage/homeTab/components/recommendList.vue
+0
-1
index.vue
src/views/homePage/index.vue
+0
-3
index.vue
src/views/otherUserPage/index.vue
+0
-1
exchangeGoodsRecordDilaog.vue
...iews/pointsStore/components/exchangeGoodsRecordDilaog.vue
+0
-1
index.vue
src/views/practiceSearchList/index.vue
+0
-1
index.vue
src/views/publishCase/index.vue
+0
-2
index.vue
src/views/publishLongArticle/index.vue
+0
-3
index.vue
src/views/questionDetail/index.vue
+0
-2
editUserInfo.vue
src/views/userPage/components/editUserInfo.vue
+0
-1
selfTask.vue
src/views/userPage/components/selfTask.vue
+0
-1
index.vue
src/views/userPage/index.vue
+0
-2
No files found.
src/components/common/ArticleContent/index.vue
View file @
d375ee1a
...
...
@@ -255,7 +255,6 @@ const { articleDetail } = defineProps<{
articleDetail
:
ArticleItemDto
isAudit
:
boolean
// 是否是审核页面
}
>
()
console
.
log
(
typeof
articleDetail
,
111
)
const
articleType
=
computed
(()
=>
{
return
articleTypeListOptions
.
find
((
item
)
=>
item
.
value
===
articleDetail
.
type
)?.
label
})
...
...
src/components/common/Comment/index.vue
View file @
d375ee1a
...
...
@@ -410,7 +410,6 @@ const isReal = computed(
type
===
ArticleTypeEnum
.
QUESTION
,
)
const
userAvatar
=
computed
(()
=>
{
console
.
log
(
isReal
.
value
?
userInfo
.
value
.
avatar
:
userInfo
.
value
.
hiddenAvatar
)
return
isReal
.
value
?
userInfo
.
value
.
avatar
:
userInfo
.
value
.
hiddenAvatar
})
...
...
@@ -423,7 +422,6 @@ const { handleBackTop } = useScrollTop(commentRef)
// 回滚到子评论框
const
{
handleBackTop
:
handleBackTopChildren
}
=
useScrollTop
(
commentItemRefList
)
console
.
log
(
commentId
,
'commentId'
)
const
{
list
,
searchParams
,
...
...
src/components/common/CommentDialog/index.vue
View file @
d375ee1a
...
...
@@ -80,7 +80,6 @@ const handleSubmit = async () => {
content
:
commentStr
.
value
,
imgUrl
:
commentImgStr
.
value
,
})
console
.
log
(
'评论内容:'
,
commentStr
.
value
)
push
.
success
(
'评论发表成功'
)
handleClose
()
emit
(
'commentSuccess'
)
...
...
src/components/common/CommentListDialog/index.vue
View file @
d375ee1a
...
...
@@ -286,7 +286,6 @@ const open = async () => {
// size: 10,
// articleId: articleId,
// })
// console.log('res', data)
// list.value = data.list
// parentComment.value = item
...
...
@@ -294,12 +293,10 @@ const open = async () => {
// currentInlineReplyId.value = null
// commentStr.value = ''
// bottomCommentContent.value = ''
console
.
log
(
'pid'
,
pid
)
await
nextTick
()
searchParams
.
value
.
pid
=
pid
search
()
const
{
data
}
=
await
getCommentDetail
(
pid
)
console
.
log
(
'data'
,
data
)
parentComment
.
value
=
data
visible
.
value
=
true
}
...
...
@@ -313,7 +310,6 @@ const handleReplyInline = (item: CommentItemDto, index: number) => {
commentStr
.
value
=
''
// Clear previous
imgUrl
.
value
=
''
// 聚焦到输入框
console
.
log
(
'replyToOtherBoxRefList'
,
replyToOtherBoxRefList
.
value
[
index
]?.
focus
)
replyToOtherBoxRefList
.
value
[
index
]?.
focus
()
}
}
...
...
src/components/common/PublishBox/index.vue
View file @
d375ee1a
...
...
@@ -32,12 +32,7 @@
<div
class=
"flex gap-3 mb-2 items-start"
>
<!-- 用户头像 -->
<el-avatar
:size=
"48"
:src=
"userAvatar"
class=
"flex-shrink-0"
@
click=
"() => console.log(form)"
>
<el-avatar
:size=
"48"
:src=
"userAvatar"
class=
"flex-shrink-0"
>
<el-icon>
<IEpUser
/>
</el-icon>
...
...
@@ -299,7 +294,6 @@ const handlePublish = async (releaseStatus: ReleaseStatusTypeEnum) => {
// resetForm()
forReset
()
// form.value.imgUrl = ''
console
.
log
(
form
.
value
)
}
catch
(
error
)
{
console
.
error
(
error
)
}
finally
{
...
...
src/components/common/UploadFile/index.vue
View file @
d375ee1a
...
...
@@ -105,7 +105,6 @@ watch(
)
const
handleExceed
:
UploadProps
[
'onExceed'
]
=
(
uploadFiles
)
=>
{
console
.
log
(
'uploadFiles'
,
uploadFiles
)
if
(
uploadFiles
.
length
>
props
.
limit
)
{
push
.
error
(
`最多上传
${
props
.
limit
}
个文件`
)
return
...
...
@@ -113,7 +112,6 @@ const handleExceed: UploadProps['onExceed'] = (uploadFiles) => {
}
const
handleChange
:
UploadProps
[
'onChange'
]
=
async
(
uploadFile
,
uploadFiles
)
=>
{
console
.
log
(
'uploadFiles'
,
uploadFiles
)
if
(
uploadFiles
.
length
>
props
.
limit
)
{
push
.
error
(
`最多上传
${
props
.
limit
}
个文件`
)
const
index
=
fileList
.
value
.
findIndex
((
file
)
=>
file
.
uid
===
uploadFile
.
uid
)
...
...
@@ -134,14 +132,12 @@ const handleChange: UploadProps['onChange'] = async (uploadFile, uploadFiles) =>
const
{
promise
}
=
uploadFileApi
(
uploadFile
.
raw
,
{
onProgress
:
(
progress
)
=>
{
console
.
log
(
'progress'
,
progress
)
uploadPercent
.
value
=
progress
},
})
const
data
=
await
promise
console
.
log
(
'data'
,
data
)
const
url
=
data
.
filePath
||
''
const
name
=
data
.
finalName
||
''
...
...
src/components/common/UploadVideo/index.vue
View file @
d375ee1a
...
...
@@ -166,7 +166,6 @@ const startUpload = async () => {
})
cancelUploadController
=
cancel
const
data
=
await
promise
console
.
log
(
data
)
// 获取视频元数据
const
metadata
=
await
getVideoMetadata
(
data
.
filePath
)
...
...
src/hooks/useScrollTop.tsx
View file @
d375ee1a
...
...
@@ -43,7 +43,6 @@ export const useScrollTop = (
}
const
finish
=
()
=>
{
console
.
log
(
'scrollend'
)
resolve
()
}
...
...
src/layoutCulture/index.vue
View file @
d375ee1a
...
...
@@ -188,13 +188,10 @@ const getSecondLevelKey = (route: RouteLocationNormalizedLoadedGeneric) => {
// 取第一级作为key homePage
const
pathSegments
=
route
.
path
.
split
(
'/'
).
filter
(
Boolean
)
// console.log(route)
// console.log(pathSegments)
// 如果有params 则取params的id
const
key
=
Object
.
keys
(
route
.
params
).
length
?
pathSegments
.
slice
(
0
,
2
).
join
(
'/'
)
:
pathSegments
.
slice
(
0
,
1
).
join
(
'/'
)
// console.log(key, '*********************')
return
key
}
...
...
src/router/scrollStorage.ts
View file @
d375ee1a
...
...
@@ -37,8 +37,6 @@ export function clearScrollPosition(path?: string): void {
*/
export
const
scrollBehavior
:
RouterScrollBehavior
=
(
to
,
from
,
savedPosition
)
=>
{
return
new
Promise
((
resolve
)
=>
{
console
.
log
(
'触发路由滚动'
)
// 1. 如果有浏览器保存的位置(前进/后退),优先使用
if
(
savedPosition
)
{
resolve
(
savedPosition
)
...
...
@@ -47,7 +45,6 @@ export const scrollBehavior: RouterScrollBehavior = (to, from, savedPosition) =>
// 2. 如果有锚点, 约定 默认不滚动 然后在具体的组件里面onActivated里面 或者watch处理滚动逻辑 以及漫游逻辑等
if
(
to
.
hash
)
{
// console.log(to.hash, window.scrollY)
// resolve({
// top: window.scrollY,
// })
...
...
src/stores/column.ts
View file @
d375ee1a
...
...
@@ -16,7 +16,6 @@ export const useColumnStore = defineStore('column', () => {
try
{
const
{
data
}
=
await
getColumnOptions
()
columnList
.
value
=
data
console
.
log
(
columnList
.
value
,
'columnList'
)
}
catch
(
error
)
{
console
.
error
(
error
)
}
finally
{
...
...
src/stores/interview.ts
View file @
d375ee1a
...
...
@@ -16,7 +16,6 @@ export const useInterviewStore = defineStore('interview', () => {
try
{
const
{
data
}
=
await
getInterviewOptions
()
interviewList
.
value
=
data
console
.
log
(
interviewList
.
value
,
'interviewList'
)
}
catch
(
error
)
{
console
.
error
(
error
)
}
finally
{
...
...
src/stores/tags.ts
View file @
d375ee1a
...
...
@@ -21,11 +21,9 @@ export const useTagsStore = defineStore('tags', () => {
isLoading
=
true
try
{
const
{
data
}
=
await
getTagList
()
console
.
log
(
data
,
'data'
)
tagList
.
value
=
data
.
filter
((
i
)
=>
i
.
type
===
'culture'
)
relatedScenariosTagList
.
value
=
data
.
filter
((
i
)
=>
i
.
type
===
'related_scenarios'
)
yearRecommendTagList
.
value
=
data
.
filter
((
i
)
=>
i
.
type
===
'year_recommend'
)
console
.
log
(
tagList
.
value
,
'tagList'
)
}
catch
(
error
)
{
console
.
error
(
error
)
}
finally
{
...
...
src/stores/video.ts
View file @
d375ee1a
...
...
@@ -16,7 +16,6 @@ export const useVideoStore = defineStore('video', () => {
try
{
const
{
data
}
=
await
getVideoOptions
()
videoList
.
value
=
data
console
.
log
(
videoList
.
value
,
'videoList'
)
}
catch
(
error
)
{
console
.
error
(
error
)
}
finally
{
...
...
src/utils/request/error.ts
View file @
d375ee1a
...
...
@@ -95,12 +95,10 @@ export function handleRequestError<T>(axiosError: AxiosError<BackendServiceResul
})
}
else
if
(
error
.
code
===
401
)
{
// 处理401的
console
.
log
(
error
,
'这里是401么'
,
axiosError
)
// 重新发送一遍请求
// service.request(axiosError.config as AxiosRequestConfig)
return
handleUnAuthorized
(
axiosError
)
}
else
{
console
.
log
(
error
,
axiosError
,
'这里是其他错误么'
)
showErrorMsg
(
error
)
}
// 鉴权错误
...
...
src/utils/request/index.ts
View file @
d375ee1a
...
...
@@ -2,7 +2,6 @@ import { app_config } from '@/config'
import
Axios
from
'./axios'
// 'http://192.168.2.168:8089'
const
baseUrl
=
app_config
[
import
.
meta
.
env
.
MODE
]?.
baseUrl
console
.
log
(
'baseUrl'
,
baseUrl
)
export
default
new
Axios
({
baseURL
:
baseUrl
,
timeout
:
1000
*
60
,
...
...
src/utils/wxUtil/index.ts
View file @
d375ee1a
...
...
@@ -20,7 +20,6 @@ interface IShareWxOption {
// option.link = url + '#' + option.link
// wx.invoke('shareAppMessage', option, function (res: any) {
// if (res.err_msg == 'openExistedChatWithMsg:ok') {
// console.log(res)
// }
// })
// }
...
...
src/utils/wxUtil/initWXConfig.ts
View file @
d375ee1a
...
...
@@ -6,7 +6,6 @@ import * as ww from '@wecom/jssdk'
// export async function initWxConfig() {
// const url = location.href.split('#')[0]
// const response = await getWxSignature(url)
// console.log('response', response, wx)
// const timestamp = response.data.timestamp //时间戳
// const nonceStr = response.data.nonceStr //随机字符串
// const signature = response.data.signature //签名
...
...
@@ -31,7 +30,6 @@ import * as ww from '@wecom/jssdk'
export
async
function
initWxConfig
()
{
const
url
=
location
.
href
.
split
(
'#'
)[
0
]
const
response
=
await
getWxSignature
(
url
!
)
// console.log('response', response)
const
timestamp
=
response
.
data
.
timestamp
//时间戳
const
nonceStr
=
response
.
data
.
nonceStr
//随机字符串
const
signature
=
response
.
data
.
signature
//签名
...
...
src/views/auction/components/exchangeGoodsRecordDilaog.vue
View file @
d375ee1a
...
...
@@ -100,7 +100,6 @@ const timeRange = computed({
}
},
set
(
value
)
{
console
.
log
(
value
)
if
(
!
value
)
{
searchParams
.
value
.
receiveTimeStart
=
0
searchParams
.
value
.
receiveTimeEnd
=
0
...
...
src/views/auction/index.vue
View file @
d375ee1a
...
...
@@ -98,7 +98,6 @@ const onBid = async (item: AuctionItemDto) => {
showConfirmButton
:
false
,
})
const
{
data
}
=
await
getAuctionDetail
(
item
.
id
)
console
.
log
(
data
,
'data'
)
const
val
=
ref
(
0
)
ElMessageBox
.
confirm
(
'确定参与竞拍吗?'
,
{
confirmButtonText
:
'确认出价'
,
...
...
src/views/backend/contentsMenu/columnManage/index.vue
View file @
d375ee1a
...
...
@@ -101,7 +101,6 @@ const handleSelectionChange = (selection: BackendColumnListItemDto[]) => {
// 函数弹窗 v-html
const
handleShowContent
=
(
row
:
ArticleItemDto
)
=>
{
console
.
log
(
row
.
content
)
ElMessageBox
.
alert
(
row
.
content
,
'内容'
,
{
showCancelButton
:
false
,
showConfirmButton
:
false
,
...
...
src/views/backend/contentsMenu/interviewManage/index.vue
View file @
d375ee1a
...
...
@@ -102,7 +102,6 @@ const handleSelectionChange = (selection: BackendColumnListItemDto[]) => {
// 函数弹窗 v-html
const
handleShowContent
=
(
row
:
ArticleItemDto
)
=>
{
console
.
log
(
row
.
content
)
ElMessageBox
.
alert
(
row
.
content
,
'内容'
,
{
showCancelButton
:
false
,
showConfirmButton
:
false
,
...
...
src/views/backend/contentsMenu/questionManage/index.vue
View file @
d375ee1a
...
...
@@ -98,16 +98,6 @@ const selectedRows = ref<BackendColumnListItemDto[]>([])
const
handleSelectionChange
=
(
selection
:
BackendColumnListItemDto
[])
=>
{
selectedRows
.
value
=
selection
}
// 函数弹窗 v-html
// const handleShowContent = (row: ArticleItemDto) => {
// console.log(row.content)
// ElMessageBox.alert(row.content, '内容', {
// showCancelButton: false,
// showConfirmButton: false,
// dangerouslyUseHTMLString: true,
// })
// }
</
script
>
<
template
>
...
...
src/views/backend/settingsMenu/dailyLotteryManage/components/lotteryConfigDialog.vue
View file @
d375ee1a
...
...
@@ -95,7 +95,6 @@ const loading = ref(false)
const
open
=
async
()
=>
{
const
{
data
}
=
await
getLotteryConfigDetail
()
console
.
log
(
data
)
if
(
!
data
)
{
resetForm
()
}
else
{
...
...
src/views/homePage/homeTab/components/recommendList.vue
View file @
d375ee1a
...
...
@@ -154,7 +154,6 @@ const { jumpToArticleDetailPage } = useNavigation()
defineExpose
({
refresh
:
(
sortLogic
?:
number
)
=>
{
console
.
log
(
'sortLogic'
,
sortLogic
)
searchParams
.
value
.
sortLogic
=
sortLogic
refresh
()
},
...
...
src/views/homePage/index.vue
View file @
d375ee1a
...
...
@@ -422,8 +422,6 @@ const activityStore = useActivityStore()
const
yabiStore
=
useYaBiStore
()
const
{
yabiData
}
=
storeToRefs
(
yabiStore
)
const
getThirdLevelKey
=
(
route
:
RouteLocationNormalizedLoadedGeneric
)
=>
{
// console.log(route.fullPath, '三级路由首页')
console
.
log
(
route
.
path
,
11111111111111
)
// return route.fullPath // fullpath带有query参数
return
route
.
path
}
...
...
@@ -535,7 +533,6 @@ const handleLottery = async () => {
}
const handleTask = async (item: TaskItemDto) => {
console.log(item)
if (item.currentCount === item.limitCount) return
// 先暂时写死
if (item.svgName === 'daily_sign') {
...
...
src/views/otherUserPage/index.vue
View file @
d375ee1a
...
...
@@ -116,7 +116,6 @@ const { list, total, searchParams, goToPage, changePageSize } = usePageSearch(
const
officialAccountList
=
ref
<
OfficialAccountItemDto
[]
>
([])
const
getIsOfficial
=
async
()
=>
{
const
{
data
}
=
await
hasOfficialAccount
()
console
.
log
(
data
)
officialAccountList
.
value
=
data
}
const
userInfo
=
ref
<
OtherUserInfoDto
>
({}
as
OtherUserInfoDto
)
...
...
src/views/pointsStore/components/exchangeGoodsRecordDilaog.vue
View file @
d375ee1a
...
...
@@ -100,7 +100,6 @@ const timeRange = computed({
}
},
set
(
value
)
{
console
.
log
(
value
)
if
(
!
value
)
{
searchParams
.
value
.
receiveTimeStart
=
0
searchParams
.
value
.
receiveTimeEnd
=
0
...
...
src/views/practiceSearchList/index.vue
View file @
d375ee1a
...
...
@@ -297,7 +297,6 @@ onActivated(() => {
(
route
.
query
.
tagIdList
as
string
)?.
split
(
','
).
filter
(
Boolean
).
map
(
Number
)
||
[]
searchParams
.
value
.
deptIdList
=
(
route
.
query
.
deptIdList
as
string
)?.
split
(
','
).
filter
(
Boolean
)
||
[]
console
.
log
(
searchParams
.
value
)
refresh
()
})
</
script
>
...
...
src/views/publishCase/index.vue
View file @
d375ee1a
...
...
@@ -168,7 +168,6 @@ const selcetDept = async () => {
if
(
departmentList
.
length
>
3
)
{
return
push
.
warning
(
'最多只能选择3个部门,请重新选择'
)
}
console
.
log
(
'选中的部门等等'
,
departmentList
)
form
.
value
.
departmentList
=
departmentList
}
...
...
@@ -364,7 +363,6 @@ onActivated(async () => {
})),
}
form
.
value
=
obj
console
.
log
(
'form'
,
form
.
value
)
// 已经同意的案例库 二次修改需要提示
if
(
data
.
isAudit
===
AuditStatusEnum
.
AGREED
)
{
...
...
src/views/publishLongArticle/index.vue
View file @
d375ee1a
...
...
@@ -460,7 +460,6 @@ const handleSelectUserAndDept = async () => {
selectedDepartmentIds
:
selectedDepts
.
value
.
map
((
item
)
=>
item
.
id
),
selectedUserIds
:
selectedUsers
.
value
.
map
((
item
)
=>
item
.
id
),
})
console
.
log
(
departmentList
,
userList
)
selectedDepts
.
value
=
departmentList
.
map
((
item
)
=>
({
id
:
item
.
id
,
name
:
item
.
name
,
...
...
@@ -542,7 +541,6 @@ const handleClosed = () => {
// 提交表单
const
handleSubmit
=
async
(
releaseStatus
:
ReleaseStatusTypeEnum
)
=>
{
try
{
console
.
log
(
form
.
value
,
'form.value'
)
const
validateRes
=
await
formRef
.
value
?.
validate
()
console
.
log
(
validateRes
,
'validateRes'
)
loading
.
value
=
true
...
...
@@ -573,7 +571,6 @@ onActivated(async () => {
await
nextTick
()
if
(
isEdit
.
value
)
{
console
.
log
(
route
.
query
.
id
,
'编辑 或者 草稿箱'
)
// 要编辑回显
const
{
data
}
=
await
getArticleDetail
(
route
.
query
.
id
as
string
)
// 1首先回显基础的信息
...
...
src/views/questionDetail/index.vue
View file @
d375ee1a
...
...
@@ -428,13 +428,11 @@ const checkIsOverThreeLine = () => {
const
lineHeight
=
parseFloat
(
getComputedStyle
(
questionContentRef
.
value
).
lineHeight
)
const
height
=
questionContentRef
.
value
!
.
scrollHeight
const
maxHeight
=
lineHeight
*
3
console
.
log
(
maxHeight
,
height
)
return
height
>
maxHeight
}
const
getQuestionDetail
=
async
()
=>
{
const
{
data
}
=
await
getArticleDetail
(
questionId
)
questionDetail
.
value
=
data
console
.
log
(
questionDetail
.
value
)
await
nextTick
()
isOverThreeLine
.
value
=
checkIsOverThreeLine
()
}
...
...
src/views/userPage/components/editUserInfo.vue
View file @
d375ee1a
...
...
@@ -73,7 +73,6 @@ const rules: FormRules = {
const
open
=
(
userInfo
:
UpdateUserInfoDto
)
=>
{
dialogVisible
.
value
=
true
form
.
value
=
userInfo
console
.
log
(
form
.
value
)
}
// 关闭弹窗方法
...
...
src/views/userPage/components/selfTask.vue
View file @
d375ee1a
...
...
@@ -107,7 +107,6 @@ const { list, loading, searchParams, total, refresh, goToPage, changePageSize }
)
const
handleTask
=
async
(
item
:
TaskItemDto
)
=>
{
console
.
log
(
item
)
if
(
item
.
svgName
===
'daily_sign'
)
{
router
.
push
(
`/homePage/homeTab#levelContainerRef`
)
}
else
if
(
item
.
svgName
===
'valid_comments'
)
{
...
...
src/views/userPage/index.vue
View file @
d375ee1a
...
...
@@ -312,7 +312,6 @@ const handleEdit = () => {
const
officialAccountList
=
ref
<
OfficialAccountItemDto
[]
>
([])
const
getIsOfficial
=
async
()
=>
{
const
{
data
}
=
await
hasOfficialAccount
()
console
.
log
(
data
)
officialAccountList
.
value
=
data
}
...
...
@@ -377,7 +376,6 @@ const handleSwitchAccount = async () => {
userId
:
userInfo
.
value
.
userId
,
cutEmail
:
selectedEmail
.
value
,
})
console
.
log
(
data
)
localStorage
.
clear
()
await
userStore
.
getUserInfoByCode
({
code
:
data
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment