Commit 8b4f0776 authored by salitedfish's avatar salitedfish

增加token参数

parent 7d0d5e61
......@@ -3,18 +3,18 @@
</template>
<script lang="ts">
// let UrlPrefixObj = require("@/config/UrlPrefix");
import {GO_URLS} from "@/config/URLS";
import { GO_URLS } from "@/config/URLS";
import { Component, Vue } from "vue-property-decorator";
@Component({
components: {},
})
export default class signIn extends Vue {
public async created() {
const id = this.$route.query.userId ? this.$route.query.userId : '133124';
const id = this.$route.query.userId ? this.$route.query.userId : "133124";
const res = await this.$ajax({
type: "post",
url: GO_URLS.token,
params: { id },
params: { id, token: window.parent.localStorage.getItem("ZCY_TOKEN") },
});
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