|
@@ -29,7 +29,7 @@
|
|
|
|
|
|
<script>
|
|
<script>
|
|
// @ is an alias to /src
|
|
// @ is an alias to /src
|
|
-let sha256 = require("js-sha256").sha256;
|
|
|
|
|
|
+// let sha256 = require("js-sha256").sha256;
|
|
import { guijiLogin, guijiActivity, defaultAjax } from "@/api/index";
|
|
import { guijiLogin, guijiActivity, defaultAjax } from "@/api/index";
|
|
import derunsanqin from "./views/derunsanqin.vue";
|
|
import derunsanqin from "./views/derunsanqin.vue";
|
|
import defaultComponent from "./views/defaultComponent.vue";
|
|
import defaultComponent from "./views/defaultComponent.vue";
|
|
@@ -62,7 +62,7 @@ export default {
|
|
}
|
|
}
|
|
let from = new FormData();
|
|
let from = new FormData();
|
|
from.append("username", "lyl");
|
|
from.append("username", "lyl");
|
|
- from.append("sign", sha256("lyl?lyl@Q41qtjsql").toLowerCase());
|
|
|
|
|
|
+ from.append("sign", 'd9fc62ef304cec188e51bfd2df556a344a38d5a04cb7d4050c5d2ed12fa8631e');
|
|
guijiLogin(from).then(res => {
|
|
guijiLogin(from).then(res => {
|
|
localStorage.guijiToken = res.token || "";
|
|
localStorage.guijiToken = res.token || "";
|
|
guijiActivity().then(topic => {
|
|
guijiActivity().then(topic => {
|
|
@@ -73,7 +73,7 @@ export default {
|
|
getMap() {
|
|
getMap() {
|
|
defaultAjax({
|
|
defaultAjax({
|
|
url:
|
|
url:
|
|
- "https://dangjian-web.oss-accelerate-overseas.aliyuncs.com/dj/static/chinaMap.json",
|
|
|
|
|
|
+ "https://djweb.smcic.net/dj/static/chinaMap.json",
|
|
}).then(map => {
|
|
}).then(map => {
|
|
localStorage.setItem("chinaMap", JSON.stringify(map.json));
|
|
localStorage.setItem("chinaMap", JSON.stringify(map.json));
|
|
this.init();
|
|
this.init();
|
|
@@ -128,6 +128,7 @@ export default {
|
|
},
|
|
},
|
|
]);
|
|
]);
|
|
this.activitys = activitys;
|
|
this.activitys = activitys;
|
|
|
|
+ console.log(this.activitys)
|
|
this.select = (this.activitys[0] || {}).componentReal;
|
|
this.select = (this.activitys[0] || {}).componentReal;
|
|
this.selectA[this.select] = true;
|
|
this.selectA[this.select] = true;
|
|
},
|
|
},
|