Commit 46a23786 authored by 黄奎's avatar 黄奎

js修改

parent ee276389
...@@ -151,8 +151,8 @@ ...@@ -151,8 +151,8 @@
data() { data() {
return { return {
userInfo: { userInfo: {
name: "", name: "13551126756",
password: "", password: "123456",
Domain: "" Domain: ""
}, },
groupModel: [], groupModel: [],
......
...@@ -310,8 +310,9 @@ export default { ...@@ -310,8 +310,9 @@ export default {
} }
var apiNewurl = this.domainManager().PostUrl; var apiNewurl = this.domainManager().PostUrl;
var timestamp = (new Date()).valueOf(); var timestamp = (new Date()).valueOf();
var uid=0;
if (!this.getLocalStorageSupplier().userInfo && this.getLocalStorageSupplier().userInfo != "" && this.$route.path.toLowerCase() != "/supplierlogin") { if (this.getLocalStorageSupplier() && this.getLocalStorageSupplier().userInfo && this.getLocalStorageSupplier().userInfo != "" && this.$route.path.toLowerCase() != "/supplierlogin") {
uid=this.getLocalStorageSupplier().SupplierAccountId;
} }
else else
{ {
...@@ -334,7 +335,7 @@ export default { ...@@ -334,7 +335,7 @@ export default {
"timestamp": timestamp, "timestamp": timestamp,
"token": token, "token": token,
"sign": md5Str, "sign": md5Str,
"uid": this.getLocalStorageSupplier().SupplierAccountId "uid":uid
} }
this.$http.post(apiNewurl, postData, { this.$http.post(apiNewurl, postData, {
......
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