You've already forked template-MP
Initial commit
This commit is contained in:
13
uview-plus/libs/mixin/mpMixin.js
Normal file
13
uview-plus/libs/mixin/mpMixin.js
Normal file
@@ -0,0 +1,13 @@
|
||||
import { defineMixin } from '../vue'
|
||||
|
||||
export const mpMixin = defineMixin({
|
||||
// #ifdef MP-WEIXIN
|
||||
// 将自定义节点设置成虚拟的,更加接近Vue组件的表现,能更好的使用flex属性
|
||||
options: {
|
||||
virtualHost: true
|
||||
}
|
||||
// #endif
|
||||
})
|
||||
|
||||
export default mpMixin
|
||||
|
||||
Reference in New Issue
Block a user