refactor: applyDirectives -> withDirectives
This commit is contained in:
@@ -4,7 +4,7 @@ import {
|
||||
nextTick,
|
||||
createComponent,
|
||||
vModelDynamic,
|
||||
applyDirectives,
|
||||
withDirectives,
|
||||
VNode
|
||||
} from '@vue/runtime-dom'
|
||||
|
||||
@@ -14,7 +14,7 @@ const triggerEvent = (type: string, el: Element) => {
|
||||
}
|
||||
|
||||
const withVModel = (node: VNode, arg: any, mods?: any) =>
|
||||
applyDirectives(node, [[vModelDynamic, arg, '', mods]])
|
||||
withDirectives(node, [[vModelDynamic, arg, '', mods]])
|
||||
|
||||
const setValue = function(this: any, value: any) {
|
||||
this.value = value
|
||||
|
||||
Reference in New Issue
Block a user