You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
296 B

4 months ago
  1. import { defineMixin } from '../vue'
  2. export const mpMixin = defineMixin({
  3. // #ifdef MP-WEIXIN
  4. // 将自定义节点设置成虚拟的,更加接近Vue组件的表现,能更好的使用flex属性
  5. options: {
  6. virtualHost: true
  7. }
  8. // #endif
  9. })
  10. export default mpMixin