diff --git a/core/core-frontend/src/views/visualized/data/datasource/form/ApiKeyValue.vue b/core/core-frontend/src/views/visualized/data/datasource/form/ApiKeyValue.vue
index 00e9c79f8a..62af9645b3 100644
--- a/core/core-frontend/src/views/visualized/data/datasource/form/ApiKeyValue.vue
+++ b/core/core-frontend/src/views/visualized/data/datasource/form/ApiKeyValue.vue
@@ -72,6 +72,10 @@ const querySearch = (queryString, cb) => {
: suggestions.value
cb(results)
}
+
+const changeNameType = element => {
+ element.value = ''
+}
const createFilter = (queryString: string) => {
return restaurant => {
return restaurant.value.toLowerCase().indexOf(queryString.toLowerCase()) === 0
@@ -98,12 +102,12 @@ const options = [
const timeFunLists = [
{
- label: '当天(yyyy-MM-DD)',
- value: 'currentDay yyyy-MM-DD'
+ label: '当天(yyyy-MM-dd)',
+ value: 'currentDay yyyy-MM-dd'
},
{
- label: '当天(yyyy/MM/DD)',
- value: 'currentDay yyyy/MM/DD'
+ label: '当天(yyyy/MM/dd)',
+ value: 'currentDay yyyy/MM/dd'
}
]
@@ -137,7 +141,7 @@ const timeFunLists = [
/>
-
+
{
return restaurant.value.toLowerCase().indexOf(queryString.toLowerCase()) === 0
}
}
-
+const changeNameType = element => {
+ element.value = ''
+}
const activeName = inject('api-active-name')
const options = [
{
@@ -118,12 +120,12 @@ const options = [
]
const timeFunLists = [
{
- label: '当天(yyyy-MM-DD)',
- value: 'currentDay yyyy-MM-DD'
+ label: '当天(yyyy-MM-dd)',
+ value: 'currentDay yyyy-MM-dd'
},
{
- label: '当天(yyyy/MM/DD)',
- value: 'currentDay yyyy/MM/DD'
+ label: '当天(yyyy/MM/dd)',
+ value: 'currentDay yyyy/MM/dd'
}
]
@@ -173,7 +175,7 @@ const timeFunLists = [
/>
-
+