mirror of
https://github.com/silenty4ng/k5web
synced 2025-04-23 04:55:53 +00:00
update
This commit is contained in:
parent
dd4e56cbd8
commit
38fe6b6e27
3 changed files with 4 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
<template>
|
<template>
|
||||||
<a-layout-footer class="footer">
|
<a-layout-footer class="footer">
|
||||||
<a href="https://github.com/silenty4ng/k5web" target="_blank">K5Web - V0.1.202402030850</a>
|
<a href="https://github.com/silenty4ng/k5web" target="_blank">K5Web - V0.1.202402031340</a>
|
||||||
</a-layout-footer>
|
</a-layout-footer>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|
|
@ -32,9 +32,11 @@ const useAppStore = defineStore('app', {
|
||||||
toggleTheme(dark: boolean) {
|
toggleTheme(dark: boolean) {
|
||||||
if (dark) {
|
if (dark) {
|
||||||
this.theme = 'dark';
|
this.theme = 'dark';
|
||||||
|
document.documentElement.setAttribute('theme-mode', 'dark');
|
||||||
document.body.setAttribute('arco-theme', 'dark');
|
document.body.setAttribute('arco-theme', 'dark');
|
||||||
} else {
|
} else {
|
||||||
this.theme = 'light';
|
this.theme = 'light';
|
||||||
|
document.documentElement.removeAttribute('theme-mode');
|
||||||
document.body.removeAttribute('arco-theme');
|
document.body.removeAttribute('arco-theme');
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
@ -32,7 +32,7 @@
|
||||||
</a-row>
|
</a-row>
|
||||||
<t-table
|
<t-table
|
||||||
:loading="loading"
|
:loading="loading"
|
||||||
size="large"
|
size="medium"
|
||||||
:columns="columns"
|
:columns="columns"
|
||||||
:data="cstate.renderData"
|
:data="cstate.renderData"
|
||||||
:pagination="{
|
:pagination="{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue