From 3c1717263a4c9dfa78d73fea9ea382933bacafc0 Mon Sep 17 00:00:00 2001 From: babylazsss <18150028757@163.com> Date: Wed, 26 Apr 2023 10:50:46 +0800 Subject: [PATCH 1/2] =?UTF-8?q?fix:=E7=9F=AD=E4=BF=A1=E6=B8=A0=E9=81=93?= =?UTF-8?q?=E6=96=B0=E5=A2=9E=E5=A4=B1=E8=B4=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.pro | 4 ++-- src/views/system/sms/channel/SmsChannelForm.vue | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.env.pro b/.env.pro index 8348e02e..80bf456a 100644 --- a/.env.pro +++ b/.env.pro @@ -4,10 +4,10 @@ NODE_ENV=production VITE_DEV=false # 请求路径 -VITE_BASE_URL='http://localhost:48080' +VITE_BASE_URL='http://172.26.6.130:8888' # 上传路径 -VITE_UPLOAD_URL='http://localhost:48080/admin-api/infra/file/upload' +VITE_UPLOAD_URL='http://172.26.6.130:8888/admin-api/infra/file/upload' # 接口前缀 VITE_API_BASEPATH= diff --git a/src/views/system/sms/channel/SmsChannelForm.vue b/src/views/system/sms/channel/SmsChannelForm.vue index c5267393..0c2edcd8 100644 --- a/src/views/system/sms/channel/SmsChannelForm.vue +++ b/src/views/system/sms/channel/SmsChannelForm.vue @@ -70,7 +70,8 @@ const formData = ref({ remark: '', apiKey: '', apiSecret: '', - callbackUrl: '' + callbackUrl: '', + createTime: null }) const formRules = reactive({ signature: [{ required: true, message: '短信签名不能为空', trigger: 'blur' }], @@ -109,7 +110,7 @@ const submitForm = async () => { // 提交请求 formLoading.value = true try { - const data = unref(formRef)?.formModel as SmsChannelApi.SmsChannelVO + const data = unref(formData) as unknown as SmsChannelApi.SmsChannelVO if (formType.value === 'create') { await SmsChannelApi.createSmsChannel(data) message.success(t('common.createSuccess')) -- Gitee From 9de1882c519c02f249f0b67da8141e9c6ea3525a Mon Sep 17 00:00:00 2001 From: babylazsss <18150028757@163.com> Date: Thu, 27 Apr 2023 14:05:46 +0800 Subject: [PATCH 2/2] =?UTF-8?q?fix:=20=E7=AB=99=E5=86=85=E4=BF=A1=E6=A8=A1?= =?UTF-8?q?=E7=89=88=E6=B5=8B=E8=AF=95=E5=8F=91=E9=80=81=E9=94=99=E8=AF=AF?= =?UTF-8?q?=E7=9A=84=E8=B0=83=E7=94=A8=E4=BA=86=E5=8F=91=E7=9F=AD=E4=BF=A1?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/system/notify/template/NotifyTemplateSendForm.vue | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/views/system/notify/template/NotifyTemplateSendForm.vue b/src/views/system/notify/template/NotifyTemplateSendForm.vue index 3f0aafe1..78788f0d 100644 --- a/src/views/system/notify/template/NotifyTemplateSendForm.vue +++ b/src/views/system/notify/template/NotifyTemplateSendForm.vue @@ -44,7 +44,6 @@