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
在开发小程序插件中,使用全局 mixin 方法失效
plugin.mina pages - index.main
plugin.mina
<config> { "pages":{ "index": "pages/index.mina", }, "main": "plugin.js" } </config> <script> import { Page, Component } from '@tinajs/tina' const isx = /iphone10|iphone11|iphone x/i.test(wx.getSystemInfoSync().model) const data = { isx } Page.mixin({ data }) Component.mixin({ data }) </script>
The text was updated successfully, but these errors were encountered:
No branches or pull requests
在开发小程序插件中,使用全局 mixin 方法失效
plugin.mina
The text was updated successfully, but these errors were encountered: