代码调整
This commit is contained in:
parent
c2b9c3c2aa
commit
e8a8f12db1
@ -160,10 +160,10 @@ export default {
|
|||||||
val: val.code
|
val: val.code
|
||||||
};
|
};
|
||||||
|
|
||||||
|
this.$store.dispatch('menuOperation/setSelected', {device: val});
|
||||||
this.$store.dispatch('trainingNew/next', step).then(({ valid }) => {
|
this.$store.dispatch('trainingNew/next', step).then(({ valid }) => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
this.$store.dispatch('menuOperation/handleBreakFlag', { break: true });
|
this.$store.dispatch('menuOperation/handleBreakFlag', { break: true });
|
||||||
this.$store.dispatch('menuOperation/setSelected', {device: val});
|
|
||||||
}
|
}
|
||||||
}).catch(() => {
|
}).catch(() => {
|
||||||
this.$refs.noticeInfo.doShow();
|
this.$refs.noticeInfo.doShow();
|
||||||
|
Loading…
Reference in New Issue
Block a user