Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
P
poc-fe
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
poc
poc-fe
Commits
f63bc9d8
Commit
f63bc9d8
authored
Jan 03, 2025
by
nick zheng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 自定义日期点击【清除】没有反应
parent
e6c488a3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
data-select-search.vue
src/components/date-select-search/data-select-search.vue
+1
-1
usage-trend-chart.vue
...omponents/agent-analysis/components/usage-trend-chart.vue
+1
-1
api-call-drawer.vue
...g/components/agent-publish/components/api-call-drawer.vue
+1
-1
No files found.
src/components/date-select-search/data-select-search.vue
View file @
f63bc9d8
...
...
@@ -51,7 +51,7 @@ function handleUpdateRangType(rangType: string) {
}
function
handleUpdateDateRange
(
_value
:
[
number
,
number
],
formattedValue
:
[
string
,
string
])
{
if
(
formattedValue
[
0
]
&&
formattedValue
[
1
])
{
if
(
formattedValue
&&
formattedValue
[
0
]
&&
formattedValue
[
1
])
{
selectDateRange
.
value
=
formattedValue
emit
(
'updateSearchList'
,
currentTime
.
value
,
selectDateRange
.
value
[
0
],
selectDateRange
.
value
[
1
])
}
...
...
src/views/personal-space/personal-app-setting/components/agent-analysis/components/usage-trend-chart.vue
View file @
f63bc9d8
...
...
@@ -172,7 +172,7 @@ function handleUpdateRangType(rangType: string) {
}
async
function
handleUpdateDateRange
(
_value
:
[
number
,
number
],
formattedValue
:
[
string
,
string
])
{
if
(
formattedValue
[
0
]
&&
formattedValue
[
1
])
{
if
(
formattedValue
&&
formattedValue
[
0
]
&&
formattedValue
[
1
])
{
selectDateRange
.
value
=
formattedValue
await
handleGetAgentDataTrend
()
}
...
...
src/views/personal-space/personal-app-setting/components/agent-publish/components/api-call-drawer.vue
View file @
f63bc9d8
...
...
@@ -132,7 +132,7 @@ async function handleUpdateRangType(rangType: string) {
}
async
function
handleUpdateDateRange
(
_value
:
[
number
,
number
],
formattedValue
:
[
string
,
string
])
{
if
(
formattedValue
[
0
]
&&
formattedValue
[
1
])
{
if
(
formattedValue
&&
formattedValue
[
0
]
&&
formattedValue
[
1
])
{
selectDateRange
.
value
=
formattedValue
await
handleGetAPIChannelPointUsageCount
()
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment