lowcode-engine icon indicating copy to clipboard operation
lowcode-engine copied to clipboard

fix: 修正插槽匹配的正则

Open wangzhenxi opened this issue 2 years ago • 4 comments

wangzhenxi avatar Mar 05 '23 09:03 wangzhenxi

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

CLAassistant avatar Mar 05 '23 09:03 CLAassistant

解决什么问题麻烦描述下

LeoYuan avatar Mar 05 '23 09:03 LeoYuan

解决什么问题麻烦描述下 image

官方demo: https://lowcode-engine.cn/demo/demo-general/index.html CodeSandbox: https://codesandbox.io/s/demo-lk74h0?from-embed=&file=/src/pages/%24/index.js 现状: 目前官方demo出码后,会出现i18n的插槽无法正常渲染的情况,主要是正则没命中插槽

wangzhenxi avatar Mar 05 '23 09:03 wangzhenxi

有没有可能是出码的字符串要多加一个$标识?我确认一下

LeoYuan avatar Mar 05 '23 09:03 LeoYuan