sinake
5 天以前 d3f66f66a0fa684bdc80bca582adb726b102966f
src/views/project/donorcharge/donorchargedetail/index.vue
@@ -472,14 +472,8 @@
    handleUploadError() {},
    // 获取请求头
    Getnetworkheader() {
      let string = window.location.href;
      if (string.includes("9091")) {
        const index = string.indexOf("9091");
        this.Networkheader = string.slice(0, index + 4); // 截取9091及其前部字符
      } else {
        const index = string.indexOf("8032");
        this.Networkheader = string.slice(0, index + 4); // 截取8032及其前部字符
      }
      // 以当前页面 origin 为准,兼容 80/8032/9091 及后续端口调整
      this.Networkheader = window.location.origin;
    },
    // 发票切换
    handleClick(tab, event) {