优化html输出
This commit is contained in:
@ -167,8 +167,8 @@ const fiexSubmitHtml = () => {
|
||||
let html = `<div class="flexbox">`;
|
||||
// 获取所有子项
|
||||
Object.keys(flexItemForm).forEach((ikey, index) => {
|
||||
const itemClass = "flex-item item-" + (index + 1);
|
||||
html += `<div class="${itemClass}">${itemClass}</div>`;
|
||||
const itemClass = "item-" + (index + 1);
|
||||
html += `<div class="flex-item ${itemClass}">${itemClass}</div>`;
|
||||
});
|
||||
html += `</div>`;
|
||||
fiexBoxDomHtml.value = html;
|
||||
|
Reference in New Issue
Block a user