Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
device-manager-ui
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
device-manager-ui
Commits
69a3e02c
Commit
69a3e02c
authored
Oct 10, 2024
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
临时修改设备管理保修期
parent
9b8fb20a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
10 deletions
+5
-10
public/index.html
public/index.html
+3
-8
src/router.js
src/router.js
+2
-2
No files found.
public/index.html
View file @
69a3e02c
...
...
@@ -6,10 +6,10 @@
<meta
name=
"viewport"
content=
"width=device-width,initial-scale=1.0"
/>
<link
rel=
"icon"
href=
"<%= BASE_URL %>sbgl.ico"
/>
<title></title>
<link
<!--
<link
rel="stylesheet"
href="https://unpkg.zhimg.com/element-ui@2.15.5/lib/theme-chalk/index.css"
/>
/>
-->
<style>
@font-face
{
font-family
:
"PangMenZhengDao"
;
...
...
@@ -25,11 +25,6 @@
>
</noscript>
<div
id=
"app"
></div>
<!-- built files will be auto injected -->
<script
src=
"https://unpkg.zhimg.com/vue@2.6.14/dist/vue.runtime.min.js"
></script>
<script
src=
"https://unpkg.zhimg.com/vuex@3.6.0/dist/vuex.min.js"
></script>
<script
src=
"https://unpkg.zhimg.com/vue-router@3.4.9/dist/vue-router.min.js"
></script>
<script
src=
"https://unpkg.zhimg.com/element-ui@2.15.5/lib/index.js"
></script>
<script
src=
"https://unpkg.zhimg.com/vue-amap/dist/index.js"
></script>
</body>
</html>
src/router.js
View file @
69a3e02c
...
...
@@ -9,8 +9,8 @@ NProgress.configure({ showSpinner: false });
Vue
.
use
(
Router
);
const
originalPush
=
Vue
Router
.
prototype
.
push
;
Vue
Router
.
prototype
.
push
=
function
push
(
location
,
onResolve
,
onReject
)
{
const
originalPush
=
Router
.
prototype
.
push
;
Router
.
prototype
.
push
=
function
push
(
location
,
onResolve
,
onReject
)
{
if
(
onResolve
||
onReject
)
return
originalPush
.
call
(
this
,
location
,
onResolve
,
onReject
);
return
originalPush
.
call
(
this
,
location
).
catch
((
err
)
=>
err
);
...
...
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