From d0136913a2c74a44f5bb30327ebbb3fd85e24fce Mon Sep 17 00:00:00 2001
From: feige <feige@qq.com>
Date: 星期二, 23 一月 2024 10:56:30 +0800
Subject: [PATCH] 修改了很多

---
 ruoyi-ui/src/views/marry/index.vue |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/ruoyi-ui/src/views/marry/index.vue b/ruoyi-ui/src/views/marry/index.vue
index 5a69ee0..722e443 100644
--- a/ruoyi-ui/src/views/marry/index.vue
+++ b/ruoyi-ui/src/views/marry/index.vue
@@ -619,7 +619,10 @@
       // 鏃ユ湡鑼冨洿
       dateRange: [],
       // 鏁版嵁鑼冨洿閫夐」
-      fot:[".jpg",".jif"],
+      // 鏁版嵁鑼冨洿閫夐」
+      fot:['.bmp','.jpg','.jpeg','.png','.tif','.gif','.pcx','.tga','.exif','.fpx',
+        '.svg','.psd','.cdr','.pcd','.dxf','.ufo','.eps','.ai','.aw','.WMF','.webp','.apng'],
+
       fileList:[
       ],
       fileListOther:[
@@ -923,12 +926,14 @@
 
     /** 鎻愪氦鎸夐挳锛堟暟鎹潈闄愶級 */
     submitDataScope: function() {
+      let _this = this
       this.$refs["elForm"].validate(valid => {
         if (valid) {
-
+          console.log(this.formDat)
           addMarryOld(this.formDat).then(response => {
             // marryList.oldSpouseList.push(this.formDat);
             this.$modal.msgSuccess("鏂板鎴愬姛");
+            _this.formDat = {}
             this.open = false;
             this.getList();
           });

--
Gitblit v1.9.1