diff options
| author | Li Jin <dragon-fly@qq.com> | 2026-05-21 10:04:17 +0800 |
|---|---|---|
| committer | Li Jin <dragon-fly@qq.com> | 2026-05-21 10:04:17 +0800 |
| commit | b24f516c4374016c2662b12426c94d95827bf98a (patch) | |
| tree | db23a413b2f60ad31ac2da649e82da72350a27a4 | |
| parent | 4e223650daa789b6f6851004e6e58970ef9999b9 (diff) | |
| download | yuescript-b24f516c4374016c2662b12426c94d95827bf98a.tar.gz yuescript-b24f516c4374016c2662b12426c94d95827bf98a.tar.bz2 yuescript-b24f516c4374016c2662b12426c94d95827bf98a.zip | |
Fix try page draft compilation
| -rwxr-xr-x | doc/docs/.vitepress/theme/components/YueCompiler.vue | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/docs/.vitepress/theme/components/YueCompiler.vue b/doc/docs/.vitepress/theme/components/YueCompiler.vue index 081e7c2..e72088d 100755 --- a/doc/docs/.vitepress/theme/components/YueCompiler.vue +++ b/doc/docs/.vitepress/theme/components/YueCompiler.vue | |||
| @@ -196,6 +196,7 @@ export default { | |||
| 196 | if (window.yue) { | 196 | if (window.yue) { |
| 197 | this.info = window.yue.version(); | 197 | this.info = window.yue.version(); |
| 198 | this.readonly = false; | 198 | this.readonly = false; |
| 199 | this.codeChanged(this.code); | ||
| 199 | this.refreshEditorReadOnly(); | 200 | this.refreshEditorReadOnly(); |
| 200 | } | 201 | } |
| 201 | }; | 202 | }; |
