Unverified Commit fec00eb1 by Sendya

fix: Route-View, change dev port 8000

parent 5340f483
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
}
}
}
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
</template> </template>
<script> <script>
import { RouteView } from '@/layouts' import RouteView from './RouteView'
import { mixinDevice } from '@/utils/mixin' import { mixinDevice } from '@/utils/mixin'
export default { export default {
......
...@@ -86,20 +86,14 @@ module.exports = { ...@@ -86,20 +86,14 @@ module.exports = {
}, },
devServer: { devServer: {
// development server port 8000
port: 8000,
proxy: { proxy: {
'/api': { '/api': {
// target: 'https://mock.ihx.me/mock/5baf3052f7da7e07e04a5116/antd-pro', // target: 'https://mock.ihx.me/mock/5baf3052f7da7e07e04a5116/antd-pro',
target: 'https://mock.ihx.me/mock/5baf3052f7da7e07e04a5116/antd-pro', target: 'https://mock.ihx.me/mock/5baf3052f7da7e07e04a5116/antd-pro',
ws: false, ws: false,
changeOrigin: true changeOrigin: true
},
'/gateway': {
target: 'https://www.easy-mock.com/mock/5b7bce071f130e5b7fe8cd7d/antd-pro',
ws: false,
changeOrigin: true,
pathRewrite: {
'^/gateway': '/api'
}
} }
} }
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment