From c2773cc0050ae0298b2a7d7a25b0285b65c37f87 Mon Sep 17 00:00:00 2001 From: K <1175047471@qq.com> Date: Wed, 6 Mar 2024 14:30:55 +0800 Subject: [PATCH] =?UTF-8?q?fix(product):=20topic=20=E8=A7=84=E5=88=99?= =?UTF-8?q?=E5=88=A4=E6=96=AD=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/product/components/TopicFormModal.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/product/components/TopicFormModal.vue b/src/views/product/components/TopicFormModal.vue index af07567e..a15fc823 100644 --- a/src/views/product/components/TopicFormModal.vue +++ b/src/views/product/components/TopicFormModal.vue @@ -32,7 +32,7 @@ const [registerForm, { setFieldsValue, validate }] = useForm({ component: 'Input', rules: [ // eslint-disable-next-line no-template-curly-in-string - { pattern: /\/\$\{.+?\}\//, message: h('span', 'Topic必须包含/${deviceSn}/占位符') }, + { pattern: /\/\$\{deviceSn}\//, message: h('span', 'Topic必须包含/${deviceSn}/占位符') }, ], dynamicDisabled: () => isUpdate.value, },