Commit ac5b9e76 authored by salitedfish's avatar salitedfish

不传用户token

parent d92af0a0
...@@ -38,6 +38,7 @@ export default { ...@@ -38,6 +38,7 @@ export default {
this.$store this.$store
.dispatch("selectPage", idnex) .dispatch("selectPage", idnex)
.then(() => { .then(() => {
//如果点击文件验真,那index就为1,那就打开新的窗口
if (idnex === 1) { if (idnex === 1) {
window.open(UrlPrefixObj.model.CHAIN_BROWSER_URL_PREFIX); window.open(UrlPrefixObj.model.CHAIN_BROWSER_URL_PREFIX);
} else { } else {
......
<template> <template>
<div>login</div> <div>login...</div>
</template> </template>
<script lang="ts"> <script lang="ts">
// let UrlPrefixObj = require("@/config/UrlPrefix"); // let UrlPrefixObj = require("@/config/UrlPrefix");
...@@ -14,7 +14,7 @@ export default class signIn extends Vue { ...@@ -14,7 +14,7 @@ export default class signIn extends Vue {
const res = await this.$ajax({ const res = await this.$ajax({
type: "post", type: "post",
url: GO_URLS.token, url: GO_URLS.token,
params: { id, token: window.parent.localStorage.getItem("ZCY_TOKEN") }, params: { id },
}); });
if (res) { if (res) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment