We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
如下代码,wkv h5 和 wkv not h5 两条日志都会打印出来。
wkv h5
wkv not h5
<script setup> // #ifdef H5 console.log('wkv h5') // #endif // #ifndef H5 console.log('wkv not h5') // #endif </script>
如下代码,运行报错 Identifier 'a' has already been declared.。
Identifier 'a' has already been declared.
<script setup> // #ifdef H5 const a = 1 // #endif // #ifndef H5 const a = 2 // #endif </script>
@vue/composition-api
unplugin-vue2-script-setup
System: OS: Windows 10 10.0.19044 CPU: (8) x64 Intel(R) Core(TM) i5-10210U CPU @ 1.60GHz Memory: 6.20 GB / 15.76 GB Binaries: Node: 16.5.0 - d:\Program Files\nodejs\node.EXE Yarn: 1.22.19 - d:\Program Files\nodejs\yarn.CMD npm: 7.19.1 - d:\Program Files\nodejs\npm.CMD Browsers: Edge: Spartan (44.19041.1266.0), Chromium (113.0.1774.35) Internet Explorer: 11.0.19041.1566
pnpm
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
如下代码,
wkv h5
和wkv not h5
两条日志都会打印出来。如下代码,运行报错
Identifier 'a' has already been declared.
。Reproduction
@vue/composition-api
和unplugin-vue2-script-setup
。 3. 添加上述代码并运行。System Info
Used Package Manager
pnpm
Validations
The text was updated successfully, but these errors were encountered: