Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
ant-design-pro-vue
Overview
Overview
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
tianzhuanghu
ant-design-pro-vue
Commits
fec00eb1
Unverified
Commit
fec00eb1
authored
Mar 22, 2019
by
Sendya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: Route-View, change dev port 8000
parent
5340f483
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
22 additions
and
9 deletions
+22
-9
index.jsx
src/components/TagSelect/index.jsx
+19
-0
UserLayout.vue
src/layouts/UserLayout.vue
+1
-1
vue.config.js
vue.config.js
+2
-8
No files found.
src/components/TagSelect/index.jsx
0 → 100644
View file @
fec00eb1
import
PropTypes
from
'ant-design-vue/es/_util/vue-types'
// TODO
export
default
{
name
:
'TagSelect'
,
props
:
{
defaultValue
:
{
type
:
[
PropTypes
.
arrayOf
(
String
),
PropTypes
.
arrayOf
(
Number
)],
default
:
()
=>
{}
},
expandable
:
{
type
:
Boolean
,
default
:
false
},
hideCheckAll
:
{
type
:
Boolean
,
default
:
false
}
}
}
src/layouts/UserLayout.vue
View file @
fec00eb1
...
...
@@ -30,7 +30,7 @@
</
template
>
<
script
>
import
{
RouteView
}
from
'@/layouts
'
import
RouteView
from
'./RouteView
'
import
{
mixinDevice
}
from
'@/utils/mixin'
export
default
{
...
...
vue.config.js
View file @
fec00eb1
...
...
@@ -86,20 +86,14 @@ module.exports = {
},
devServer
:
{
// development server port 8000
port
:
8000
,
proxy
:
{
'/api'
:
{
// target: 'https://mock.ihx.me/mock/5baf3052f7da7e07e04a5116/antd-pro',
target
:
'https://mock.ihx.me/mock/5baf3052f7da7e07e04a5116/antd-pro'
,
ws
:
false
,
changeOrigin
:
true
},
'/gateway'
:
{
target
:
'https://www.easy-mock.com/mock/5b7bce071f130e5b7fe8cd7d/antd-pro'
,
ws
:
false
,
changeOrigin
:
true
,
pathRewrite
:
{
'^/gateway'
:
'/api'
}
}
}
},
...
...
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