fix code review

pull/4444/head
tanhauhau 5 years ago
parent 0622e23f60
commit 841137afa6

@ -7,11 +7,11 @@ export default {
indeterminate: true indeterminate: true
}, },
html: '<input type=\'checkbox\'>', html: "<input type='checkbox'>",
// somehow ssr will render indeterminate="" // somehow ssr will render indeterminate=""
// the hydrated html will still contain that attribute // the hydrated html will still contain that attribute
ssrHtml: '<input type=\'checkbox\' indeterminate="">', ssrHtml: "<input type='checkbox' indeterminate=''>",
test({ assert, component, target }) { test({ assert, component, target }) {
const input = target.querySelector('input'); const input = target.querySelector('input');

Loading…
Cancel
Save