Skip to content

Commit aa49edf

Browse files
committed
fix: bug fix
1 parent 2dc2966 commit aa49edf

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

chat2db-client/src/components/Tabs/index.less

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@
121121
bottom: 0;
122122
background-color: var(--color-bg-base);
123123
border-left: 1px solid var(--color-border);
124+
border-right: 1px solid var(--color-border);
124125
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
125126
display: flex;
126127

chat2db-client/src/utils/url.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ export function getUrlParam(paramName) {
4040
*/
4141
export function updateQueryStringParameter(key, value) {
4242
const uri = window.location.href;
43-
const host = window.location.host;
4443
if (!value) {
4544
return uri;
4645
}
@@ -49,7 +48,7 @@ export function updateQueryStringParameter(key, value) {
4948
if (uri.match(re)) {
5049
return uri.replace(re, '$1' + key + '=' + value + '$2');
5150
} else {
52-
return host + separator + key + '=' + value;
51+
return uri + separator + key + '=' + value;
5352
}
5453
}
5554

0 commit comments

Comments
 (0)