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.
|
|
|
|
import { defineMixin } from '../vue'
|
|
|
|
|
|
|
|
|
|
export const mpMixin = defineMixin({
|
|
|
|
|
// #ifdef MP-WEIXIN
|
|
|
|
|
// 将自定义节点设置成虚拟的,更加接近Vue组件的表现,能更好的使用flex属性
|
|
|
|
|
options: {
|
|
|
|
|
virtualHost: true
|
|
|
|
|
}
|
|
|
|
|
// #endif
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
export default mpMixin
|
|
|
|
|
|