mirror of
https://github.com/sahadev/vue-component-creater-ui.git
synced 2025-06-06 21:14:03 +08:00
feat: 修复驼峰属性解析时驼峰性质丢失问题
This commit is contained in:
parent
ca020049d0
commit
8d3533bf75
15
README.md
15
README.md
@ -8,7 +8,8 @@ VCC(Vue Compontent Creator)是 Low Code Generator 中独立的 Vue 组件代码
|
||||
|
||||
#### 使用示例
|
||||
|
||||
请移步至使用Demo:[https://github.com/sahadev/vcc3-use-demo](https://github.com/sahadev/vcc3-use-demo)
|
||||
请移步至使用 Demo:[https://github.com/sahadev/vcc3-use-demo](https://github.com/sahadev/vcc3-use-demo)
|
||||
|
||||
## 本地如何运行此项目
|
||||
|
||||
首先进行安装:
|
||||
@ -32,11 +33,17 @@ npm run dev
|
||||
[【LCG 近期功能更新介绍-哔哩哔哩】https://b23.tv/SAHwVq](https://b23.tv/SAHwVq)
|
||||
|
||||
### 说明文档
|
||||
|
||||
[https://vcc3-docs.surge.sh/#/](https://vcc3-docs.surge.sh/#/)
|
||||
|
||||
### 功能更新日志
|
||||
- 2022年03月16日 支持生成单页Html,支持Vue2以及Vue3,并支持一键部署至VCC服务器。
|
||||
- 2023年12月06日 更新Element组件库版本、更新Vue框架版本。
|
||||
|
||||
- 2022 年 03 月 16 日 支持生成单页 Html,支持 Vue2 以及 Vue3,并支持一键部署至 VCC 服务器。
|
||||
- 2023 年 12 月 06 日 更新 Element 组件库版本、更新 Vue 框架版本。
|
||||
|
||||
### 核心仓库
|
||||
|
||||
VCC 依赖于一个核心的代码转换库:[vue-component-code-creater](https://github.com/sahadev/vue-component-code-creater),通过这个库来完成 Vue 文件的解析和 Vue 文件的生成。如果需要更改核心实现,可通过此库提供的源码进行修改。
|
||||
|
||||
## 贡献
|
||||
|
||||
@ -60,4 +67,4 @@ npm run dev
|
||||
|
||||
或者加群和大家一起讨论吧! 可以加我微信:SAHADEV-smile,我拉你入群。加我微信时请备注 VCC。
|
||||
|
||||
另外我也特别希望可以和大家一起做这个项目。这个项目目前主要面对的是前端开发者。后期可以面向后端开发者与产品与 UE。
|
||||
另外我也特别希望可以和大家一起做这个项目。这个项目目前主要面对的是前端开发者。后期可以面向后端开发者与产品与 UE。
|
||||
|
@ -56,17 +56,21 @@ function parseHtml(htmlData) {
|
||||
lastAccessStack.pop();
|
||||
currentAccessObject = lastAccessStack[lastAccessStack.length - 1];
|
||||
},
|
||||
onend(){
|
||||
onend() {
|
||||
resolve(root);
|
||||
},
|
||||
|
||||
onerror(error) {
|
||||
reject(error);
|
||||
}
|
||||
}, {
|
||||
lowerCaseAttributeNames: false,
|
||||
lowerCaseTags: false,
|
||||
});
|
||||
parser.write(
|
||||
htmlData
|
||||
);
|
||||
|
||||
parser.end();
|
||||
})
|
||||
}
|
||||
|
@ -51,13 +51,16 @@ function parseHtml(htmlData) {
|
||||
lastAccessStack.pop();
|
||||
currentAccessObject = lastAccessStack[lastAccessStack.length - 1];
|
||||
},
|
||||
onend(){
|
||||
onend() {
|
||||
resolve(root);
|
||||
},
|
||||
|
||||
onerror(error) {
|
||||
reject(error);
|
||||
}
|
||||
}, {
|
||||
lowerCaseAttributeNames: false,
|
||||
lowerCaseTags: false,
|
||||
});
|
||||
parser.write(
|
||||
htmlData
|
||||
|
Loading…
x
Reference in New Issue
Block a user