This commit is contained in:
2023-08-11 10:45:20 +08:00
commit 161ca982f3
31850 changed files with 2706500 additions and 0 deletions

9
node_modules/vue/src/compiler/directives/on.ts generated vendored Normal file
View File

@ -0,0 +1,9 @@
import { warn } from 'core/util/index'
import { ASTDirective, ASTElement } from 'types/compiler'
export default function on(el: ASTElement, dir: ASTDirective) {
if (__DEV__ && dir.modifiers) {
warn(`v-on without argument does not support modifiers.`)
}
el.wrapListeners = (code: string) => `_g(${code},${dir.value})`
}