北京一号线 信号机操作代码调整

This commit is contained in:
joylink_cuiweidong 2020-02-25 15:08:48 +08:00
parent b221e8e6b9
commit 2978438390
3 changed files with 4 additions and 2 deletions

View File

@ -217,6 +217,8 @@ export default {
if (!item.disabled) {
this.changeList.push(true);
this.selection.push(item.code);
} else {
this.changeList.push(null);
}
});
this.allSelect = true;
@ -290,7 +292,6 @@ export default {
routeCodeList:this.selection
}
};
this.loading = true;
this.$store.dispatch('training/nextNew', operate).then(({ valid }) => {
this.loading = false;

View File

@ -22,6 +22,7 @@ export function creatSubscribe(topic, header) {
function callback(Response) {
if (store) {
var data = JSON.parse(Response.body);
console.log(data);
store.dispatch('socket/setStomp', data);
} else {
callback(Response);