From bb83845e25cf7b6358a59938973ab18d0a9f326c Mon Sep 17 00:00:00 2001 From: lihuilin Date: Thu, 20 Nov 2025 10:57:50 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A5=BD=E5=A4=9Abug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/activityManage/activity.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/activityManage/activity.vue b/src/views/activityManage/activity.vue index 16a7219..b5e58fb 100644 --- a/src/views/activityManage/activity.vue +++ b/src/views/activityManage/activity.vue @@ -164,8 +164,8 @@ const { adminData, menuTree } = storeToRefs(adminStore) import ConfirmDialog from '@/components/dialogs/ConfirmDialog.vue' import _ from 'lodash' // 活动名称正则表达式 -const activityNameReg = /^[-a-zA-Z0-9\u4e00-\u9fa5,。!?、;:“”‘’()《》【】——~,.!?:;'"()\[\]_&+=]{0,100}$/; -//const activityNameReg = /^[-a-zA-Z0-9\u4e00-\u9fa5,。!?、;:“”‘’()《》【】——~,.!?:;'"()[]_-&+=]{0,200}$/; +const activityNameReg = /^[\u4e00-\u9fa5a-zA-Z0-9,。!?、;:“”()‘’《》【】{}——~,.!?:;'--()""\[\]_&+=]+$/; +// 为什么一定要两个--才能成功????????? const tableData = ref([]) const pagination = ref({ pageNum: 1,