Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CodeEditor 赋值 空字符串/undefined/null 无效 #659

Closed
tky753 opened this issue May 27, 2021 · 0 comments
Closed

CodeEditor 赋值 空字符串/undefined/null 无效 #659

tky753 opened this issue May 27, 2021 · 0 comments

Comments

@tky753
Copy link

tky753 commented May 27, 2021

Describe the bug

CodeMirror 赋值 空字符串/undefined/null 无效

Reproduction

<CodeEditor v-model:value="contentRef" mode="javascript" />
......
contentRef 先赋值非空字符串,后赋值 空字符串,赋值无效

原因可能是因为:
\src\components\CodeEditor\src\codemirror\CodeMirror.vue 行56
image

@github-actions github-actions bot locked and limited conversation to collaborators Sep 22, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants