修复位置为空时无法保存gub

This commit is contained in:
王铜 2020-11-30 11:15:41 +08:00
parent cee790c4fc
commit 9dbeeeec35
2 changed files with 2 additions and 2 deletions

View File

@ -157,7 +157,7 @@ export default {
this.position = this.detail.position this.position = this.detail.position
} }
else{ else{
this.form.position = '' this.form.position = undefined
this.position = { this.position = {
detail:'', detail:'',
position:'', position:'',

View File

@ -1,7 +1,7 @@
const path = require('path') const path = require('path')
module.exports = { module.exports = {
publicPath: '/water/', publicPath: '/',
devServer: { devServer: {
host: '127.0.0.1', host: '127.0.0.1',