|
@@ -104,12 +104,12 @@ const vueConfig = {
|
|
devServer: {
|
|
devServer: {
|
|
// development server port 8000
|
|
// development server port 8000
|
|
port: 8000,
|
|
port: 8000,
|
|
- // If you want to turn on the proxy, please remove the mockjs /src/main.jsL11
|
|
|
|
|
|
+ // If you want to turn on the proxy, please remosve the mockjs /src/main.jsL11
|
|
proxy: {
|
|
proxy: {
|
|
'/api': {
|
|
'/api': {
|
|
- target: 'http://192.168.0.216:8602/ocs-admin',
|
|
|
|
|
|
+ // target: 'http://192.168.0.216:8602/ocs-admin',
|
|
// target: 'https://t.ocs.360arrow.com/ocs-admin', // 练习
|
|
// target: 'https://t.ocs.360arrow.com/ocs-admin', // 练习
|
|
- // target: 'http://p.ocs.360arrow.com/ocs-admin', // 预发布
|
|
|
|
|
|
+ target: 'http://p.ocs.360arrow.com/ocs-admin', // 预发布
|
|
ws: false,
|
|
ws: false,
|
|
changeOrigin: true,
|
|
changeOrigin: true,
|
|
pathRewrite: {
|
|
pathRewrite: {
|