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

热更新无效 #90

Closed
8 of 9 tasks
daiyuelin opened this issue Jan 18, 2023 · 1 comment
Closed
8 of 9 tasks

热更新无效 #90

daiyuelin opened this issue Jan 18, 2023 · 1 comment

Comments

@daiyuelin
Copy link

daiyuelin commented Jan 18, 2023

Related plugins

Describe the bug

1.http://localhost:5173/#/ContentManagement/TrainingLibrary
使用el-table,data使用响应式附值时,vite热更新报错如下:
runtime-core.esm-bundler.js:557 TypeError: Cannot set properties of null (setting 'textContent')

Reproduction

https://github.com/daiyuelin/dts-background-management1

Steps to reproduce

npm install
npm run dev
谷歌浏览器打开http://localhost:5173/#/ContentManagement/TrainingLibrary,然后修改TrainingLibrary.vue代码,热更新报错,如下:runtime-core.esm-bundler.js:557 TypeError: Cannot set properties of null (setting 'textContent')

System Info

"@vitejs/plugin-vue": "^4.0.0",
"vite": "^4.0.4",
"element-plus": "^2.2.28",
"vue": "^3.2.25",
node/16.15.1

Used Package Manager

npm

Logs

No response

Validations

@sapphi-red
Copy link
Member

I guess this is fixed by vuejs/core#4077 that landed in Vue 3.2.38.
If it's still happening, please create a new issue with minimal reproduction using the latest Vue, Thanks.

@sapphi-red sapphi-red closed this as not planned Won't fix, can't repro, duplicate, stale Feb 14, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Mar 1, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants