Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
car-database-web
Project
Project
Details
Activity
Releases
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
中汽研标准应用数据库
car-database-web
Commits
c97dd43d
Commit
c97dd43d
authored
Sep 03, 2024
by
zhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: (首页/检测内容/实施细则)修复转跳页面后章节选择问题
parent
b42ad3ea
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
standardOption.vue
src/components/Page/standardOption.vue
+5
-4
No files found.
src/components/Page/standardOption.vue
View file @
c97dd43d
...
...
@@ -45,9 +45,10 @@ empty
@
node-expand=
"handleNodeExpand"
@
node-collapse=
"handleNodeCollapse"
>
<span
:class=
"{'clickChange':node.isCurrent}"
style=
"display: flex; justify-content:center;align-items: center;"
slot-scope=
"{ node,data }"
>
<span
:class=
"{'clickChange':node.isCurrent}"
style=
"display: flex; justify-content:center;align-items: center;"
slot-scope=
"{ node,data }"
>
<span
>
{{data.label}}
</span>
</span>
</el-tree>
</ul>
</div>
...
...
@@ -160,10 +161,10 @@ export default {
},
selectStandard
(
value
)
{
this
.
$store
.
dispatch
(
'standard/setStandard'
,
''
)
this
.
loadData
()
//
this.loadData()
},
handleNodeClick
(
node
,
data
){
if
(
data
.
isCurrent
){
if
(
data
.
isCurrent
){
node
.
isCurrent
=
true
}
if
(
data
.
isLeaf
){
...
...
@@ -182,7 +183,7 @@ export default {
},
handleNodeExpand
(
node
){
let
flag
=
false
this
.
defaultExpandIds
.
some
(
item
=>
{
if
(
item
===
node
.
key
)
{
// 判断当前节点是否存在, 存在不做处理
...
...
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