Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
DiscuzWeb
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
Discuz
DiscuzWeb
Commits
e965b3f0
Commit
e965b3f0
authored
Jan 25, 2021
by
xiongyuwen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
31465e4a
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
10 deletions
+2
-10
Header.vue
components/Header.vue
+1
-1
knowledgeDetail.vue
pages/knowledge/knowledgeDetail.vue
+1
-9
No files found.
components/Header.vue
View file @
e965b3f0
...
...
@@ -194,7 +194,7 @@ export default {
// 更加微信用户id获取对应得用户信息并返回
axios
//.get(`http://discuz.bailuntec.com/api/login?useid=${wxUserid}`)
.
get
(
`http://discuz.bailuntec.com/api/login?useid=
tangyanf
en`
)
.
get
(
`http://discuz.bailuntec.com/api/login?useid=
xiongyuw
en`
)
.
then
((
res
)
=>
{
if
(
res
.
data
.
data
.
relationships
.
users
.
data
.
id
)
{
localStorage
.
setItem
(
...
...
pages/knowledge/knowledgeDetail.vue
View file @
e965b3f0
...
...
@@ -92,7 +92,6 @@
</div>
</div>
</div>
</div>
</template>
<
script
>
import
axios
from
'@/plugins/axios.js'
;
...
...
@@ -592,14 +591,7 @@ export default {
head
()
{
return
{
title
:
((
this
.
thread
&&
this
.
thread
.
title
)
||
(
this
.
thread
&&
this
.
thread
.
firstPost
&&
this
.
thread
.
firstPost
.
summaryText
.
slice
(
0
,
15
))
||
'主题详情页'
)
+
(
this
.
forums
&&
this
.
forums
.
set_site
&&
this
.
forums
.
set_site
.
site_name
?
` -
${
this
.
forums
.
set_site
.
site_name
}
`
:
'
\
u200E'
),
'知识库'
,
meta
:
[
{
hid
:
'keywords'
,
...
...
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