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-10-31 13:51:55 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
9103aa3e266c71980583076637ae96afcb8ade29
9103aa3e
1 parent
497b3de7
fix 产品资料点击后,切换菜单可能出错问题
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
4 deletions
src/views/product/detail.vue
src/views/product/detail.vue
View file @
9103aa3
<!--
* @Date: 2024-09-29 14:26:41
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2024-10-
28 17:57:14
* @LastEditTime: 2024-10-
31 13:44:49
* @FilePath: /hager/src/views/product/detail.vue
* @Description: 文件描述
-->
...
...
@@ -226,6 +226,7 @@ export default {
this.download_list.forEach(item => {
if (key === item.type) {
item.list = element.map(item => ({ ...item, checked: false }));
item.show = false;
}
});
};
...
...
@@ -238,9 +239,14 @@ export default {
}
}
},
onClick (item) {
this.download_list.forEach(item => item.show = false);
item.show = true;
onClick (v) {
this.download_list.forEach(item => {
if (v.id === item.id) {
item.show = true;
} else {
item.show = false;
}
});
},
async getUserInfo () {
const { code, data } = await getUserInfoAPI();
...
...
Please
register
or
login
to post a comment