website: search input add palceholder.

This commit is contained in:
jaywcjlove
2022-11-20 19:17:46 +08:00
parent 63adae9cbc
commit 473822f988
2 changed files with 5 additions and 1 deletions

View File

@ -62,7 +62,7 @@ export function search({ homePath = '', isHome } = {}) {
{
type: 'element',
tagName: 'input',
properties: { id: ['mysearch-input'], type: 'search' },
properties: { id: ['mysearch-input'], type: 'search', placeholder: '搜索备忘清单' },
children: [],
},
{