Skip to content

Commit 105186e

Browse files
authored
style: createRecord only accept a single param (#1725)
1 parent 9ae4d57 commit 105186e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/hotReload.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ if (module.hot) {
1010
script.__hmrId = "${id}"
1111
const api = __VUE_HMR_RUNTIME__
1212
module.hot.accept()
13-
if (!api.createRecord('${id}', script)) {
13+
if (!api.createRecord('${id}')) {
1414
api.reload('${id}', script)
1515
}
1616
${templateRequest ? genTemplateHotReloadCode(id, templateRequest) : ''}

0 commit comments

Comments
 (0)