| | |
| | | </template> |
| | | |
| | | <script> |
| | | import util from "@/libs/util.js"; |
| | | import Cookies from "js-cookie"; |
| | | export default { |
| | | props: {}, |
| | | data() { |
| | |
| | | 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` |
| | | } |