站台方向属性调整

This commit is contained in:
fan 2019-12-16 10:57:40 +08:00
parent b2c9e34a25
commit 7d2d6fb580

View File

@ -348,7 +348,7 @@ export default {
edit() { edit() {
this.$refs.dataform.validate((valid) => { this.$refs.dataform.validate((valid) => {
if (valid) { if (valid) {
this.editModel.isRight = this.addModel.isRight === 'right'; this.editModel.isRight = this.editModel.isRight === 'right';
const data = Object.assign({_type: 'StationStand'}, this.editModel); const data = Object.assign({_type: 'StationStand'}, this.editModel);
console.log(data); console.log(data);
this.$emit('updateMapModel', data); this.$emit('updateMapModel', data);