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

uniapp npm更新到3.0.0-4010420240430001页面控制台报错 #4881

Closed
lin-code-world opened this issue May 6, 2024 · 1 comment
Closed

Comments

@lin-code-world
Copy link

uniapp npm更新到3.0.0-4010420240430001 f12页面控制台报错

TypeError: Cannot read properties of null (reading '$el')
    at initElement (uni-h5.es.js:25546:45)
    at uni-h5.es.js:25554:5
    at vue.runtime.esm.js:4163:88
    at callWithErrorHandling (vue.runtime.esm.js:1381:19)
    at callWithAsyncErrorHandling (vue.runtime.esm.js:1388:17)
    at hook.__weh.hook.__weh (vue.runtime.esm.js:4141:19)
    at flushPostFlushCbs (vue.runtime.esm.js:1553:41)
    at flushJobs (vue.runtime.esm.js:1591:5)
function initElement() {
      refreshContainerElem = refreshRef.value.$el;   #指到这一行报错
      refreshControllerElem = refreshContainerElem.querySelector(".uni-page-refresh");
      refreshControllerElemStyle = refreshControllerElem.style;
      refreshInnerElemStyle = refreshControllerElem.querySelector(".uni-page-refresh-inner").style;
  }
@zhetengbiji
Copy link
Collaborator

已更新:3.0.0-4010420240430002

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

No branches or pull requests

2 participants