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