From d8cbe91e52f94572f66e0c23c6c75737143f2b08 Mon Sep 17 00:00:00 2001
From: children117cl <278950112@qq.com>
Date: 星期四, 13 五月 2021 19:09:40 +0800
Subject: [PATCH] 新增表单验证方法,引入在rule的validator调用

---
 src/components/WangEnduit/index.vue |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/components/WangEnduit/index.vue b/src/components/WangEnduit/index.vue
index b5ed31b..648b738 100644
--- a/src/components/WangEnduit/index.vue
+++ b/src/components/WangEnduit/index.vue
@@ -87,7 +87,7 @@
       formData.append('file', files[0])
       self.postFN(
         {
-          url: 'admin/image/upload',
+          url: 'admin/image/upload?folderCode=IMG',
           header: { 'Content-Type': 'multipart/form-data' },
           params: formData,
           mockData: {

--
Gitblit v1.8.0