Skip to content

Commit 1e2e3b2

Browse files
committed
调整多应用连接符,优化深色样式
1 parent 7dfed64 commit 1e2e3b2

File tree

5 files changed

+10
-5
lines changed

5 files changed

+10
-5
lines changed

src/components/AppSelect/AppSelect.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
<a-select-opt-group :label="item.title">
1212
<a-select-option
1313
v-for="option in item.items"
14-
:key="`${item.folder}_${option.folder}`"
15-
:value="`${item.folder}_${option.folder}`"
14+
:key="`${item.folder},${option.folder}`"
15+
:value="`${item.folder},${option.folder}`"
1616
:label="`${item.title}-${option.title}`"
1717
>
1818
{{ option.title }}

src/components/VerifyAuth/Index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ export default defineComponent({
6262
}
6363
const token = res.data.data.token;
6464
let tokenKey = "global";
65-
const appKeys = appKey.value.split("_");
65+
const appKeys = appKey.value.split(",");
6666
if (config.value.apps) {
6767
const appPath = getTreePathByKeys(
6868
config.value.apps,

src/layouts/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ export default defineComponent({
129129
} else if (res.apps && res.apps.length) {
130130
const treeFirstNode = getFirstNode(res.apps, "items");
131131
if (treeFirstNode && treeFirstNode.length) {
132-
const appKey = treeFirstNode.map((p) => p.folder).join("_");
132+
const appKey = treeFirstNode.map((p) => p.folder).join(",");
133133
store.dispatch(`app/${Types.SET_APP_KEY}`, appKey);
134134
}
135135
}

src/styles/global.less

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ body{
4949
.ant-input-affix-wrapper{
5050
.ant-input{
5151
background: none;
52+
border: none;
5253
}
5354
}
5455
.ant-input-affix-wrapper .ant-input-prefix, .ant-input-affix-wrapper .ant-input-suffix,
@@ -292,6 +293,8 @@ body{
292293
}
293294
.ant-popover-title,
294295
.ant-popover-inner-content,
295-
.ant-badge-status-text{
296+
.ant-badge-status-text,
297+
.ant-tabs-tab-next,
298+
.ant-tabs-tab-prev{
296299
color: var(--text-color)!important;
297300
}

src/styles/theme.less

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ body{
3434
--bgcolor-blur:rgba(40,40,40,0.9);
3535
--bgcolor-light:rgb(65, 64, 64);
3636
--bgcolor-mask:rgba(255,255,255,0.1);
37+
--bgcolor-grey:rgba(255,255,255,0.2);
3738
--text-color-light: #ffffff;
3839
--text-color: #c5c5c5;
3940
--text-grey: #999;
@@ -49,6 +50,7 @@ body{
4950
--code-color-doctag:#808080;
5051
--code-color-link:#00b0e8;
5152
--scrollbar-color:rgba(157, 165, 183, 0.5);
53+
5254

5355

5456

0 commit comments

Comments
 (0)