scorpio 2 년 전
부모
커밋
812202a7f2
1개의 변경된 파일6개의 추가작업 그리고 1개의 파일을 삭제
  1. 6 1
      src/views/contract/component/info.vue

+ 6 - 1
src/views/contract/component/info.vue

@@ -115,7 +115,12 @@ export default {
       handler(val) {
         if (val) {
           this.form = val
-          console.log(this.form.type, typeof this.form.type)
+          if (this.form.contractsStatus === -1) {
+            this.form.contractsStatus = ''
+          }
+          if (this.form.type === -1) {
+            this.form.type = ''
+          }
         }
       },
       immediate: true