소스 검색

fix saveform

wolyshaw 4 년 전
부모
커밋
960cbced1b
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      src/components/save-form/index.vue

+ 3 - 0
src/components/save-form/index.vue

@@ -44,6 +44,9 @@ export default {
       evt.stopPropagation()
       evt.stopImmediatePropagation()
       evt.preventDefault()
+      if (this.saveKey) {
+        this.searchs.update(this.$route.path, undefined, 'bind')
+      }
       this.searchs.update(this.model, undefined, 'form')
         console.log(  new Searchs().searchs)
       if (this.$listeners.submit) {