Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
buildbank-replica
Project
Project
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
姚珂
buildbank-replica
Commits
d9e835fe
Commit
d9e835fe
authored
May 06, 2026
by
何波
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
面包屑处理
parent
43f4744f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
11 deletions
+7
-11
middle.html
middle.html
+7
-11
No files found.
middle.html
View file @
d9e835fe
...
@@ -1241,18 +1241,14 @@
...
@@ -1241,18 +1241,14 @@
</html>
</html>
<script
src=
"https://cdnjs.cloudflare.com/ajax/libs/html2pdf.js/0.10.1/html2pdf.bundle.min.js"
></script>
<script
src=
"https://cdnjs.cloudflare.com/ajax/libs/html2pdf.js/0.10.1/html2pdf.bundle.min.js"
></script>
<script>
<script>
// window.onload = function() {
let
menuName
=
localStorage
.
getItem
(
"menuName"
);
// console.log("11111111")
// }
let
menuName
=
localStorage
.
getItem
(
"menuName"
);
// console.log("menuName===========",menuName)
// console.log("menuName===========",menuName)
let
list
=
menuName
.
split
(
">"
);
let
list
=
menuName
.
split
(
">"
);
// console.log(list,'list=========');
const
prev
=
list
.
slice
(
0
,
-
1
).
join
(
' > '
);
document
.
getElementById
(
"breadcrumb"
).
innerHTML
=
const
last
=
list
[
list
.
length
-
1
];
`当前位置:
${
list
[
0
]}
>
${
list
[
1
]}
> <span class="breadcrumb_item">
${
list
[
2
]}
</span>`
;
// console.log(list,'list=========');
document
.
getElementById
(
"breadcrumb"
).
innerHTML
=
`当前位置:
${
prev
?
prev
+
' > '
:
''
}
<span class="breadcrumb_item">
${
last
}
</span>`
;
function
onBack
(){
function
onBack
(){
window
.
history
.
back
();
window
.
history
.
back
();
...
...
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