Skip to content

Commit 9a8a5bd

Browse files
author
F-loat
committed
fix: #149 组件 ref 的支持
1 parent e6e3b53 commit 9a8a5bd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/platforms/mp/runtime/patch.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22

33
import * as nodeOps from './node-ops'
44
import { createPatchFunction } from 'core/vdom/patch'
5-
// import baseModules from 'core/vdom/modules/index'
5+
import baseModules from 'core/vdom/modules/index'
66
// const platformModules = []
77
// import platformModules from 'web/runtime/modules/index'
88

99
// the directive module should be applied last, after all
1010
// built-in modules have been applied.
1111
// const modules = platformModules.concat(baseModules)
1212

13-
export const corePatch: Function = createPatchFunction({ nodeOps, modules: [] })
13+
export const corePatch: Function = createPatchFunction({ nodeOps, modules: baseModules })
1414

1515
export function patch () {
1616
corePatch.apply(this, arguments)

0 commit comments

Comments
 (0)