diff --git a/src/views/biz/sysSettings/index.vue b/src/views/biz/sysSettings/index.vue index 1473002..7965004 100644 --- a/src/views/biz/sysSettings/index.vue +++ b/src/views/biz/sysSettings/index.vue @@ -29,6 +29,9 @@ const settingsData = ref({ membership_config: { issuance_num_per_month_company: 10, issuance_num_per_month_person: 5 + }, + areas: { + separator: " " } }); @@ -42,6 +45,16 @@ const purchaseTypeMap = { 6: "跳转卡" }; +// 添加分隔符选项 +const separatorOptions = [ + { value: " ", label: "空格" }, + { value: ",", label: "逗号" }, + { value: "、", label: "顿号" }, + { value: "-", label: "中划线" }, + { value: "_", label: "下划线" }, + { value: " > ", label: "大于号" } +]; + // 加载设置数据 const loadSettings = async () => { try { @@ -235,6 +248,47 @@ onMounted(() => { + + + + + + + + + {{ item.label }} ({{ + item.value === " " ? "空格" : item.value + }}) + + +
+ 用于连接地区名称,例如:北京{{ settingsData.areas.separator }}朝阳区 +
+
+
+
@@ -259,6 +313,12 @@ onMounted(() => { width: 100%; margin-top: 20px; } + + .form-tip { + margin-top: 8px; + font-size: 12px; + color: #909399; + } } }