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
<template> <div class="{{style.box}}"> </div> </template> <script> export default { computed: { } } </script> <style module="style"> .box { width: 100px; height: 100px; background-color: brown; } </style>
在包含 computed 属性时,san component优先使用自身属性,忽略了类静态属性 https://github.com/baidu/san/blob/master/src/view/component.js#L83
The text was updated successfully, but these errors were encountered:
为了保证性能,san不会在初始化时候去assign prototype 和 Component 中的computed。你用的哪个loader,请loader解决
Sorry, something went wrong.
No branches or pull requests
在包含 computed 属性时,san component优先使用自身属性,忽略了类静态属性
https://github.com/baidu/san/blob/master/src/view/component.js#L83
The text was updated successfully, but these errors were encountered: