change
This commit is contained in:
parent
5cf926f87a
commit
24adb4d996
|
@ -21,6 +21,7 @@ export default defineComponent(() => {
|
|||
},
|
||||
{ immediate: true }
|
||||
)
|
||||
watch(() => layout.state.content[selected.value].background, console.log, { immediate: true })
|
||||
const resource = useResource(
|
||||
computed(() => layout.state.content[selected.value].background),
|
||||
'background'
|
||||
|
@ -58,11 +59,13 @@ export default defineComponent(() => {
|
|||
)}
|
||||
</div>
|
||||
<div class="flex justify-between items-center py-4">
|
||||
<Button type="primary" icon={<SwapOutlined />}
|
||||
<Button
|
||||
type="primary"
|
||||
icon={<SwapOutlined />}
|
||||
onClick={() => {
|
||||
router.go('global-background')
|
||||
|
||||
}}>
|
||||
}}
|
||||
>
|
||||
更换壁纸
|
||||
</Button>
|
||||
<Button
|
||||
|
|
Loading…
Reference in New Issue