save
This commit is contained in:
parent
5dddc19d76
commit
81284f6799
|
@ -61,6 +61,7 @@ export default defineComponent(() => {
|
|||
<Button type="primary" icon={<SwapOutlined />}
|
||||
onClick={()=> {
|
||||
router.path = ''
|
||||
|
||||
}}>
|
||||
更换壁纸
|
||||
</Button>
|
||||
|
|
|
@ -3,8 +3,8 @@ import { defineComponent } from "vue";
|
|||
export default defineComponent({
|
||||
setup() {
|
||||
return (
|
||||
<div>
|
||||
|
||||
<div class={"w-full h-full bg-red-300"}>
|
||||
background
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import { defineStore } from 'pinia'
|
||||
import { ref } from 'vue'
|
||||
|
||||
export type GlobalStr = 'search' | 'block' | 'adder' | 'login'
|
||||
export type GlobalStr = 'search' | 'block' | 'adder' | 'login' | 'background'
|
||||
export type SettingStr =
|
||||
| 'user'
|
||||
| 'background'
|
||||
|
@ -13,6 +13,7 @@ export type SettingStr =
|
|||
| 'dock'
|
||||
| 'reset'
|
||||
| 'fallback'
|
||||
export type CustomStr = 'background'
|
||||
export type RouteStr = '' | `widget-${string}` | `global-${GlobalStr}` | `settings-${SettingStr}`
|
||||
|
||||
export default defineStore('router', () => {
|
||||
|
|
Loading…
Reference in New Issue