mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-17 04:28:07 +01:00
🎨 数据库表头为空
This commit is contained in:
parent
29d959c18c
commit
9867e3ff0a
3 changed files with 2 additions and 8 deletions
|
|
@ -88,7 +88,7 @@ export const getSortsHTML = (columns: IAVColumn[], sorts: IAVSort[]) => {
|
|||
const genSortItem = (id: string) => {
|
||||
let sortHTML = "";
|
||||
columns.forEach((item) => {
|
||||
sortHTML += `<option value="${item.id}" ${item.id === id ? "selected" : ""}>${item.name}</option>`;
|
||||
sortHTML += `<option value="${item.id}" ${item.id === id ? "selected" : ""}>${item.icon && unicode2Emoji(item.icon)}${item.name}</option>`;
|
||||
});
|
||||
return sortHTML;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue