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,