代码调整

This commit is contained in:
dong 2022-11-29 18:05:49 +08:00
parent a274f4ef3b
commit 8a559b4296

View File

@ -87,7 +87,7 @@ export default {
name: '加载',
handleClick: this.loadScript,
type: 'primary',
showControl:(row) => { return row.id; }
showControl:(row) => { return row.mapSystem; }
}
]
}
@ -188,7 +188,7 @@ export default {
// singleMember: true
getPublishMapDetailById(row.mapId).then(res=>{
const lindeCode = res.data.lineCode;
createSimulation(data).then(resp => {
row.mapSystem && createSimulation(row.mapSystem).then(resp => {
const query = { lineCode:lindeCode, group: resp.data, mapId: row.mapId, project: this.project, trainingId:row.id};
if (this.loadingProjectList.includes(this.project)) {
this.$store.dispatch('app/transitionAnimations');