Commit cf6de52e authored by 黄奎's avatar 黄奎

页面修改

parent b7b238e1
import axios from "axios";
import { removeAuth } from "../utils/auth";
import {
removeAuth
} from "../utils/auth";
import qs from "qs";
import { Dialog, Notify } from 'quasar'
import {
Dialog,
Notify
} from 'quasar'
var showLoginMessageBox = false;
axios.defaults.headers["Content-Type"] = "application/json;charset=UTF-8"; //application/x-www-form-urlencoded;charset=UTF-8
......@@ -49,7 +54,7 @@ service.interceptors.response.use(
return response;
} else if (res.Code != 1) {
// TODO 确定后台的CODE码
if (res.Code == 302) {
if (res.Code == 10000) {
if (!showLoginMessageBox) {
showLoginMessageBox = true;
Dialog.create({
......
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