Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
smart-office-platform
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
赵啸非
smart-office-platform
Commits
7fabde36
Commit
7fabde36
authored
Dec 20, 2023
by
ww-xxy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
关闭cdn外部资源
parent
ef6a16b7
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
13 deletions
+13
-13
smart-office-manager-ui/admin/public/index.html
smart-office-manager-ui/admin/public/index.html
+2
-2
smart-office-manager-ui/admin/src/router.js
smart-office-manager-ui/admin/src/router.js
+2
-2
smart-office-manager-ui/admin/vue.config.js
smart-office-manager-ui/admin/vue.config.js
+9
-9
No files found.
smart-office-manager-ui/admin/public/index.html
View file @
7fabde36
...
...
@@ -20,10 +20,10 @@
</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/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>
<script src="https://unpkg.zhimg.com/vue-amap/dist/index.js"></script>
-->
</body>
</html>
smart-office-manager-ui/admin/src/router.js
View file @
7fabde36
...
...
@@ -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
)
}
...
...
smart-office-manager-ui/admin/vue.config.js
View file @
7fabde36
module
.
exports
=
{
productionSourceMap
:
false
,
assetsDir
:
"
s
"
,
configureWebpack
:
{
externals
:
{
vue
:
"
Vue
"
,
vuex
:
"
Vuex
"
,
"
vue-router
"
:
"
VueRouter
"
,
"
element-ui
"
:
"
ELEMENT
"
,
},
},
//
assetsDir: "s",
//
configureWebpack: {
//
externals: {
//
vue: "Vue",
//
vuex: "Vuex",
//
"vue-router": "VueRouter",
//
"element-ui": "ELEMENT",
//
},
//
},
lintOnSave
:
false
,
devServer
:
{
inline
:
true
,
...
...
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