Commit 91d29b1f authored by ULIVZ's avatar ULIVZ Committed by Evan You

chore: avoid using templates literals for string constants (#1333)

parent 0fb51728
...@@ -22,9 +22,9 @@ if (module.hot) { ...@@ -22,9 +22,9 @@ if (module.hot) {
if (!module.hot.data) { if (!module.hot.data) {
api.createRecord('${id}', component.options) api.createRecord('${id}', component.options)
} else { } else {
api.${functional ? `rerender` : `reload`}('${id}', component.options) api.${functional ? 'rerender' : 'reload'}('${id}', component.options)
} }
${templateRequest ? genTemplateHotReloadCode(id, templateRequest) : ``} ${templateRequest ? genTemplateHotReloadCode(id, templateRequest) : ''}
} }
} }
`.trim() `.trim()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment