Skip to content

fix(compiler-sfc): The constant properties returned by setup cannot be modified#11275

Closed
linzhe141 wants to merge 2 commits intovuejs:mainfrom
linzhe141:fix-setup-assign-to-a-constant-variable
Closed

fix(compiler-sfc): The constant properties returned by setup cannot be modified#11275
linzhe141 wants to merge 2 commits intovuejs:mainfrom
linzhe141:fix-setup-assign-to-a-constant-variable

Conversation

@linzhe141
Copy link
Copy Markdown
Member

close #11265

@github-actions
Copy link
Copy Markdown

github-actions bot commented Jul 2, 2024

Size Report

Bundles

File Size Gzip Brotli
runtime-dom.global.prod.js 89.4 kB 34.2 kB 30.8 kB
vue.global.prod.js 146 kB 53.6 kB 47.7 kB

Usages

Name Size Gzip Brotli
createApp 51.3 kB 20.1 kB 18.3 kB
createSSRApp 54.7 kB 21.4 kB 19.5 kB
defineCustomElement 53.6 kB 20.9 kB 19 kB
overall 65 kB 25.1 kB 22.7 kB

@linzhe141 linzhe141 changed the title The constant properties returned by setup cannot be modified fix(compiler-sfc): The constant properties returned by setup cannot be modified Jul 3, 2024
@linzhe141 linzhe141 deleted the fix-setup-assign-to-a-constant-variable branch February 2, 2026 09:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

When in dev mode, modifying constants declared with const using v-model does not result in an error.

2 participants