添加网址导航,首次打开页面,图标没有默认图

This commit is contained in:
expdsn 2024-11-15 17:47:09 +08:00
parent 8efdd59010
commit c8be06730d
2 changed files with 8 additions and 2 deletions

View File

@ -187,7 +187,13 @@ export default defineComponent(() => {
placeholder="搜索想要添加的网址导航"
class="w-0 flex-grow"
/>
<Button></Button>
<Button
onClick={() => {
debounced.value = debounced.value + ' '
}}
>
</Button>
</InputGroup>
</Form.Item>
<Form.Item label="名称">

View File

@ -13,7 +13,7 @@ export default function useLink(url: Ref<string>) {
const info = reactive<LinkInfo>({
background: '',
desc: '',
icon: '',
icon: 'https://oss.goosetab.com/000/user_upload/1/resource/120be9d6-1c68-41ba-b539-570c39ce2421.png',
link: '',
name: ''
})