From 72e5e43c73fe178ac462c6806536a2f03d51c7da Mon Sep 17 00:00:00 2001 From: XieYongHong <18010623010@163.com> Date: Thu, 24 Aug 2023 10:10:02 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BC=98=E5=8C=96jetlinks-ui-components?= =?UTF-8?q?=E6=8C=89=E9=9C=80=E5=BC=95=E5=85=A5=E6=8F=92=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugin/jetlinks.ts | 4 ++++ vite.config.ts | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/plugin/jetlinks.ts b/plugin/jetlinks.ts index c5811a95..e5151a0c 100644 --- a/plugin/jetlinks.ts +++ b/plugin/jetlinks.ts @@ -228,6 +228,10 @@ const matchComponents: IMatcher[] = [ pattern: /^CheckButton/, styleDir: 'CheckButton' }, + { + pattern: /^ColorPicker/, + styleDir: 'ColorPicker' + }, ] export interface JetlinksVueResolverOptions { diff --git a/vite.config.ts b/vite.config.ts index f5403f0c..10ad0adf 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -96,7 +96,7 @@ export default defineConfig(({ mode}) => { // target: 'http://192.168.32.244:8881', // target: 'http://192.168.32.163:8844', //张季本地 // target: 'http://120.77.179.54:8844', // 120测试 - target: 'http://192.168.33.46:8844', // 本地开发环境 + target: 'http://192.168.32.5:8844', // 本地开发环境 ws: 'ws://192.168.33.46:8844', changeOrigin: true, rewrite: (path) => path.replace(/^\/api/, '')