vue.config.js
@@ -26,14 +26,13 @@
    // disableHostCheck: true,
    proxy: {
      '/api': {
        //本地服务接口地址
        // target: 'http://localhost',
        target: 'http://192.168.0.109:81',//钟W
        // 本地服务接口地址
        target: 'http://localhost:81',
        // target: 'http://192.168.0.114:81',//钟日健W
        // target: 'http://localhost:81',//原W
        // target: 'http://192.168.0.108:81',//原W
        // target: 'http://192.168.0.109:81',//唐N
        //远程演示服务地址,可用于直接启动项目
        // target: 'https://saber.bladex.vip/api',
        ws: true,
        pathRewrite: {
          '^/api': '/'