liujq 3 jaren geleden
bovenliggende
commit
e0ebb530cc

File diff suppressed because it is too large
+ 0 - 0
dist/index.html


File diff suppressed because it is too large
+ 0 - 0
dist/static/css/chunk-8e83fa70.a8910c20.css


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/app.85e53293.js


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/chunk-147aebcc.44fd736b.js


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/chunk-8e83fa70.d0246332.js


+ 2 - 1
src/views/metro/components/popup/IndexEdit.vue

@@ -57,6 +57,7 @@ export default {
             id: this.curObj.id
           }).then(res => {
             this.cObj = {...res}
+            this.metroName = res.metro_name
             this.getDef()
           })
         } else {
@@ -125,8 +126,8 @@ export default {
             else if (!newForm.latitude) return this.$msgw('请选择纬度!')
             this.$api.other[apiStr](newForm).then(data => {
               this.$msgs(newForm.id ? '编辑成功' : '新增成功')
-              this.$emit('close', newForm)
               this.getDef({sort: Number(newForm.sort)+1})
+              this.$emit('close', newForm)
             })
           }
         })

+ 1 - 1
src/views/metro/index.vue

@@ -92,7 +92,7 @@ export default {
       this.isDtlShow = true
     },
     closePopup(obj) {
-      // this.isDtlShow = false
+      this.isDtlShow = false
       if (obj) {
         this.fetchData() 
       }

Some files were not shown because too many files changed in this diff