From c9fe54c2d65d86fde45d8d073ea00c160c84460b Mon Sep 17 00:00:00 2001 From: Charles7c Date: Mon, 28 Apr 2025 21:58:34 +0800 Subject: [PATCH] =?UTF-8?q?style:=20=E4=BC=98=E5=8C=96=E7=9F=AD=E4=BF=A1?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=E8=A1=A8=E5=8D=95=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/system/config/sms/SmsConfigAddModal.vue | 11 +++++++---- src/views/system/config/sms/index.vue | 8 ++++---- 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/src/views/system/config/sms/SmsConfigAddModal.vue b/src/views/system/config/sms/SmsConfigAddModal.vue index 422322e..bfa06e7 100644 --- a/src/views/system/config/sms/SmsConfigAddModal.vue +++ b/src/views/system/config/sms/SmsConfigAddModal.vue @@ -31,7 +31,7 @@ const visible = ref(false) const isUpdate = computed(() => !!dataId.value) const title = computed(() => (isUpdate.value ? '修改短信配置' : '新增短信配置')) const formRef = ref>() -const { sms_supplier_type } = useDict('sms_supplier_type') +const { sms_supplier } = useDict('sms_supplier') const [form, resetForm] = useResetReactive({ status: 1, @@ -55,7 +55,7 @@ const columns: ColumnItem[] = reactive([ span: 12, required: true, props: { - options: sms_supplier_type, + options: sms_supplier, }, }, { @@ -68,7 +68,7 @@ const columns: ColumnItem[] = reactive([ { label: 'Secret Key', field: 'secretKey', - type: 'input', + type: 'input-password', span: 24, required: true, }, @@ -136,8 +136,11 @@ const columns: ColumnItem[] = reactive([ { label: '厂商配置', field: 'supplierConfig', - type: 'input', + type: 'textarea', span: 24, + props: { + placeholder: '请输入 JSON 格式', + }, }, { label: '状态', diff --git a/src/views/system/config/sms/index.vue b/src/views/system/config/sms/index.vue index 8ec87d3..dd9f624 100644 --- a/src/views/system/config/sms/index.vue +++ b/src/views/system/config/sms/index.vue @@ -16,7 +16,7 @@