fujunling
2023-05-30 dfec0257c8a662fec8e3f27667355f9b1ca09a20
解决api配置冲突
已修改2个文件
16 ■■■■■ 文件已修改
Source/UBCS-WEB/src/components/FormTemplate/index.vue 9 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Source/UBCS-WEB/vue.config.js 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Source/UBCS-WEB/src/components/FormTemplate/index.vue
@@ -3,10 +3,11 @@
    :visible.sync="dialogVisible"
    v-dialogDrag
    top="0vh"
    title="提示"
    :title="title"
    class="avue-dialog avue-dialog--top"
    :width="dialogOptions.width"
    append-to-body
    v-if="dialogVisible"
  >
    <avue-form
      v-model="form"
@@ -39,7 +40,7 @@
        </span>
      </template>
    </avue-form>
    <FindLike ref="findLike" v-if="dialogVisible"></FindLike>
    <FindLike ref="findLike"></FindLike>
    <div class="avue-dialog__footer" v-if="type !== 'detail'">
      <el-button @click="close()">取 消</el-button>
      <el-button @click="close()" type="primary" :loading="submitBtnLoading">确 定</el-button>
@@ -75,6 +76,10 @@
    type: {
      type: String,
      default: 'add'
    },
    title: {
      type: String,
      default: '表单模板'
    }
  },
  data() {
Source/UBCS-WEB/vue.config.js
@@ -26,17 +26,10 @@
    proxy: {
      '/api': {
        //本地服务接口地址
<<<<<<< HEAD
        // target: 'http://localhost:37000',
        //target: 'http://192.168.3.7:37000',
        target: 'http://dev.vci-tech.com:37000',
        // target: 'http://192.168.1.51:37000/',
=======
         target: 'http://localhost:37000',
        // target: 'http://192.168.3.7:37000',
        // target: 'http://dev.vci-tech.com:37000',
        //target: 'http://192.168.1.51:37000/',
>>>>>>> 1a5351f560e5833cc10127f8188c627b54146478
        //远程演示服务地址,可用于直接启动项目
        // target: 'https://saber.bladex.vip/api',
        ws: true,