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

How to support non-null assertion operator in template? #85

Open
lvjiaxuan opened this issue May 4, 2023 · 2 comments
Open

How to support non-null assertion operator in template? #85

lvjiaxuan opened this issue May 4, 2023 · 2 comments

Comments

@lvjiaxuan
Copy link

Error message:

[plugin:vite:vue2] invalid expression: Unexpected token '!' in

    numberRollRef!.roll

  Raw expression: @click="numberRollRef!.roll"
@lvjiaxuan lvjiaxuan changed the title How to support non-null assertion operator? How to support non-null assertion operator in template? May 4, 2023
@zWingz
Copy link

zWingz commented Oct 12, 2023

I have the same problem

@lvjiaxuan
Copy link
Author

I have the same problem

我感觉没法实现,我当时没有找到可以处理的 options ,暂时先用可选 ?.

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