Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
hager
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
hookehuyr
2024-12-16 10:17:17 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
bdbc540e0a0ea9da8956ee1a83012bef8eeef87f
bdbc540e
1 parent
d8bcedeb
fix 新闻关键字优化
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
src/views/news/detail.vue
src/views/news/detail.vue
View file @
bdbc540
<!--
* @Date: 2024-10-18 12:06:09
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2024-12-1
2 12:49:2
0
* @LastEditTime: 2024-12-1
6 10:15:1
0
* @FilePath: /hager/src/views/news/detail.vue
* @Description: 文件描述
-->
...
...
@@ -56,8 +56,8 @@ export default {
if (code) {
this.title = data.post_title;
this.content = data.product_advantages;
this.keyword = data.post_keyword;
this.description = data.post_description;
this.keyword = data.post_keyword
? data.post_keyword : 'hager 海格电气 新闻'
;
this.description = data.post_description
? data.post_description : data.post_title
;
}
},
methods: {
...
...
Please
register
or
login
to post a comment