Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
company-portal-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
赵啸非
company-portal-ui
Commits
bf812791
Commit
bf812791
authored
Dec 03, 2024
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改配置文件
parent
1e16d066
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
admin/src/components/common/header/Header.vue
admin/src/components/common/header/Header.vue
+1
-1
admin/src/router.js
admin/src/router.js
+1
-1
admin/vue.config.js
admin/vue.config.js
+2
-2
No files found.
admin/src/components/common/header/Header.vue
View file @
bf812791
...
@@ -30,7 +30,7 @@
...
@@ -30,7 +30,7 @@
<div
class=
"nav-wrapper header-default"
>
<div
class=
"nav-wrapper header-default"
>
<div
class=
"nav"
>
<div
class=
"nav"
>
<ul
class=
"am-nav am-nav-pills am-nav-justify"
>
<ul
class=
"am-nav am-nav-pills am-nav-justify"
>
<li><router-link
class=
"router"
to=
"/index
View
"
>
网站首页
</router-link></li>
<li><router-link
class=
"router"
to=
"/index"
>
网站首页
</router-link></li>
<li><router-link
class=
"router"
to=
"/product"
>
产品中心
</router-link></li>
<li><router-link
class=
"router"
to=
"/product"
>
产品中心
</router-link></li>
<li><router-link
class=
"router"
to=
"/example"
>
客户案例
</router-link></li>
<li><router-link
class=
"router"
to=
"/example"
>
客户案例
</router-link></li>
<li><router-link
class=
"router"
to=
"/news"
>
公司动态
</router-link></li>
<li><router-link
class=
"router"
to=
"/news"
>
公司动态
</router-link></li>
...
...
admin/src/router.js
View file @
bf812791
...
@@ -19,7 +19,7 @@ Router.prototype.push = function push(location, onResolve, onReject) {
...
@@ -19,7 +19,7 @@ Router.prototype.push = function push(location, onResolve, onReject) {
const
router
=
new
Router
({
const
router
=
new
Router
({
routes
:
[
routes
:
[
//不需要鉴权的页面
//不需要鉴权的页面
builder
(
"
/index
View
"
,
"
portal/IndexView
"
),
builder
(
"
/index
"
,
"
portal/IndexView
"
),
builder
(
"
/product
"
,
"
portal/ProductView
"
),
builder
(
"
/product
"
,
"
portal/ProductView
"
),
builder
(
"
/product/productId/:productId
"
,
"
portal/ProductDetailsView
"
),
builder
(
"
/product/productId/:productId
"
,
"
portal/ProductDetailsView
"
),
builder
(
"
/example
"
,
"
portal/ExampleView
"
),
builder
(
"
/example
"
,
"
portal/ExampleView
"
),
...
...
admin/vue.config.js
View file @
bf812791
...
@@ -10,8 +10,8 @@ module.exports = {
...
@@ -10,8 +10,8 @@ module.exports = {
proxy
:
{
proxy
:
{
"
/m
"
:
{
"
/m
"
:
{
// target: "http://192.168.0.98:11019",
// target: "http://192.168.0.98:11019",
target
:
'
http://127.0.0.1:18001
'
,
//
target: 'http://127.0.0.1:18001',
//
target: 'http://192.168.0.250:18001',
target
:
'
http://192.168.0.250:18001
'
,
changeOrigin
:
true
,
changeOrigin
:
true
,
secure
:
false
secure
:
false
}
}
...
...
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