Skip to content

Commit

Permalink
去除无用的id
Browse files Browse the repository at this point in the history
  • Loading branch information
JakHuang committed Jan 10, 2020
1 parent ec9c5a2 commit 8c302a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/preview/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ function init(event) {
$previewApp.innerHTML = `<style>${code.css}</style><div id="app"></div>`
main.template = `<div>${code.html}</div>`
new Vue({
template: `<div id="${+new Date()}"><child ${attrs}/></div>`,
template: `<div><child ${attrs}/></div>`,
data() {
return {
visible: true
Expand Down

0 comments on commit 8c302a4

Please sign in to comment.