FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

fix: schema2jsCode Compatibility issues by junbaibai0719 · Pull Request #109 · alibaba/lowcode-plugins · GitHub

fix: schema2jsCode Compatibility issues - #109

Open
junbaibai0719 wants to merge 1 commit into
alibaba:mainfrom
junbaibai0719:main
Open

fix: schema2jsCode Compatibility issues#109
junbaibai0719 wants to merge 1 commit into
alibaba:mainfrom
junbaibai0719:main

Conversation

Copy link
Copy Markdown

我想在运行时用户操作后生成一些自定义方法,修改了schema的methods,然后重新生成js code,发现一个兼容性问题,如果我在前端页面没有先打开js编辑器的面板的话,所有的function都会变成funcName funcName这种形式

        (schema.componentsTree[0] as any).originCode = undefined;
        (schema.componentsTree[0] as any).originCode = await schema2JsCode(schema);

CLAassistant commented Dec 31, 2024
edited
Loading

Copy link
Copy Markdown


All committers have signed the CLA.

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL