mirror of
https://github.com/silenty4ng/k5web
synced 2025-01-28 14:42:43 +00:00
Compare commits
No commits in common. "38fe6b6e2785c18fe0b9cbf7692388a112279039" and "dcf7393393f0c9e0ca2d4e449479c5e264c6b3ff" have entirely different histories.
38fe6b6e27
...
dcf7393393
3 changed files with 3 additions and 7 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.202402031340</a>
|
<a href="https://github.com/silenty4ng/k5web" target="_blank">K5Web - V0.1.202402022130</a>
|
||||||
</a-layout-footer>
|
</a-layout-footer>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|
|
@ -32,11 +32,9 @@ 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="medium"
|
size="large"
|
||||||
:columns="columns"
|
:columns="columns"
|
||||||
:data="cstate.renderData"
|
:data="cstate.renderData"
|
||||||
:pagination="{
|
:pagination="{
|
||||||
|
@ -44,8 +44,6 @@
|
||||||
@change="(e: any)=>{cstate.pageSize = e.pagination.pageSize, cstate.nowPage = e.pagination.current}"
|
@change="(e: any)=>{cstate.pageSize = e.pagination.pageSize, cstate.nowPage = e.pagination.current}"
|
||||||
bordered
|
bordered
|
||||||
lazy-load
|
lazy-load
|
||||||
:headerAffixedTop="{ offsetTop: 60 }"
|
|
||||||
:hover="true"
|
|
||||||
>
|
>
|
||||||
<template #index="{ row, rowIndex }">
|
<template #index="{ row, rowIndex }">
|
||||||
{{ (cstate.nowPage - 1) * cstate.pageSize + rowIndex + 1 }}
|
{{ (cstate.nowPage - 1) * cstate.pageSize + rowIndex + 1 }}
|
||||||
|
@ -129,7 +127,7 @@
|
||||||
{
|
{
|
||||||
title: '信道名称',
|
title: '信道名称',
|
||||||
colKey: 'name',
|
colKey: 'name',
|
||||||
width: 250,
|
width: 150,
|
||||||
align: 'left',
|
align: 'left',
|
||||||
edit: {
|
edit: {
|
||||||
component: Input,
|
component: Input,
|
||||||
|
|
Loading…
Reference in a new issue