You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by ju...@apache.org on 2019/12/22 07:07:11 UTC
[incubator-apisix-dashboard] 01/01: feat: use more semantic tip for
edit route
This is an automated email from the ASF dual-hosted git repository.
juzhiyuan pushed a commit to branch feature-route-edit
in repository https://gitbox.apache.org/repos/asf/incubator-apisix-dashboard.git
commit d5aa8ef9d3efd483c9bb724428ebcb083bf0bd86
Author: juzhiyuan <jj...@gmail.com>
AuthorDate: Sun Dec 22 15:06:56 2019 +0800
feat: use more semantic tip for edit route
---
src/lang/en.ts | 5 +++++
src/lang/zh.ts | 5 +++++
src/views/schema/routes/edit.vue | 4 ++--
3 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/src/lang/en.ts b/src/lang/en.ts
index 4b81e90..ea9dbd4 100644
--- a/src/lang/en.ts
+++ b/src/lang/en.ts
@@ -69,5 +69,10 @@ export default {
add_node: 'Add Node',
delete: 'Delete',
addValue: 'Add Value'
+ },
+ schema: {
+ route: {
+ inputMultipleURLs: 'Input value and press return button'
+ }
}
}
diff --git a/src/lang/zh.ts b/src/lang/zh.ts
index 5d6d9b9..d7d7dcc 100644
--- a/src/lang/zh.ts
+++ b/src/lang/zh.ts
@@ -77,5 +77,10 @@ export default {
add_node: '添加 Node',
delete: '删除',
addValue: '添加值'
+ },
+ schema: {
+ route: {
+ inputMultipleURLs: '输入值后并回车'
+ }
}
}
diff --git a/src/views/schema/routes/edit.vue b/src/views/schema/routes/edit.vue
index ae0e8bc..b1b0515 100644
--- a/src/views/schema/routes/edit.vue
+++ b/src/views/schema/routes/edit.vue
@@ -38,7 +38,6 @@
<el-form-item
label="URIs"
prop="uris"
- placeholder="can write multi uri here"
>
<el-select
v-model="form.uris"
@@ -46,6 +45,7 @@
filterable
multiple
default-first-option
+ :placeholder="$t('schema.route.inputMultipleURLs')"
@change="filterUriOptions"
>
<el-option
@@ -485,7 +485,7 @@ export default class extends Vue {
.el-form-item {
.el-form-item__content {
.el-input {
- width: 220px;
+ width: 300px;
}
}
}