ZaiZai 10 månader sedan
förälder
incheckning
6c7d07daad
1 ändrade filer med 6 tillägg och 14 borttagningar
  1. 6 14
      src/views/certificate/lists/addList.vue

+ 6 - 14
src/views/certificate/lists/addList.vue

@@ -471,8 +471,8 @@ export default {
     },
     changecertificateFileUrl2 (file) {//签名体图片变化回调
       this.form.signatureFileUrl = [file]
-      this.form.wide = 600
-      this.form.high = 165
+      this.form.wide = ''
+      this.form.high = ''
     },
     pushSignPfxDeputieList () {//添加关联项目
       // this.form.signPfxDeputieList.unshift({
@@ -523,18 +523,10 @@ export default {
         }else{
           this.form.signatureFileUrl = []
         }
-          //宽度
-          if (res.data.wide) {
-            this.form.wide = res.data.wide
-          } else {
-            this.form.wide = 600
-          }
-          //高度
-        if (res.data.high) {
-          this.form.high = res.data.high
-        } else {
-          this.form.high = 165
-        }
+        //宽度
+        this.form.wide = res.data.wide
+        //高度
+        this.form.high = res.data.high
       }
     },
     async save (da) {//新增