haoxuan
2024-04-16 e42df755d23d421fa07602d0ea6cf822986c4b40
修改线上的跳转链接
1个文件已修改
8 ■■■■ 已修改文件
src/components/header/index.vue 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/header/index.vue
@@ -22,6 +22,8 @@
</template>
<script>
import util from "@/libs/util.js";
import Cookies from "js-cookie";
export default {
  props: {},
  data() {
@@ -48,8 +50,12 @@
      return type
    },
    getApsPage(){
      // let token = util.cookies.get("token");
      // Cookies.set("token", token, { expires: 7, path: "/" });
      // console.log(util.cookies.get("token"),'==token')
      // window.open(`//aps.fai365.com:${getPort()}${this.startPage}`); ${window.location.hostname}
      const loginPathMap = {
        prod:`//${window.location.hostname}:9080`,
        prod:`//aps.fai365.com:9080`,
        test:`//192.168.20.119:9080`,
        dev: `//192.168.8.117:8080`
      }