From b978b0602df1d5e5dc31d11f7ffc620932f6fe31 Mon Sep 17 00:00:00 2001
From: wangjiahao <1522128093@qq.com>
Date: Wed, 3 Aug 2022 11:40:49 +0800
Subject: [PATCH] =?UTF-8?q?style:=20=E6=A8=A1=E6=9D=BF=E5=B8=82=E5=9C=BA?=
=?UTF-8?q?=E6=A0=B7=E5=BC=8F=E4=BC=98=E5=8C=96?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
frontend/src/lang/en.js | 3 +-
frontend/src/lang/tw.js | 3 +-
frontend/src/lang/zh.js | 1 +
.../component/MarketPreview.vue | 46 +++++++++++--
.../component/TemplateMarketItem.vue | 2 +-
.../src/views/panel/templateMarket/index.vue | 66 ++++++++++++++++---
6 files changed, 103 insertions(+), 18 deletions(-)
diff --git a/frontend/src/lang/en.js b/frontend/src/lang/en.js
index a7dd275f25..f7f3f79a5c 100644
--- a/frontend/src/lang/en.js
+++ b/frontend/src/lang/en.js
@@ -566,7 +566,7 @@ export default {
filter: 'screen',
list: 'List item',
list_info: 'Please select the information to be displayed in the list',
- sure_delete: 'Are you sure to delete this user?',
+ sure_delete: 'Are you sure to delete this user?'
},
ldap: {
url: 'LDAP url',
@@ -1567,6 +1567,7 @@ export default {
sure_bt: 'Confirm'
},
panel: {
+ template_name_tips: "Panel\'s name should not be null",
panel_background_item: 'Customize panel background',
panel_background_image_tips: 'Currently.Jpeg,.Jpg,.Png,.Gif files are supported, and the size should not exceed 15m',
reUpload: 'reUpload',
diff --git a/frontend/src/lang/tw.js b/frontend/src/lang/tw.js
index 552d0f46b7..ab7cd56da9 100644
--- a/frontend/src/lang/tw.js
+++ b/frontend/src/lang/tw.js
@@ -567,7 +567,7 @@ export default {
filter: '篩選',
list: '列表項',
list_info: '請選擇列表中要展示的信息',
- sure_delete: '確定刪除該用戶嗎?',
+ sure_delete: '確定刪除該用戶嗎?'
},
ldap: {
url: 'LDAP地址',
@@ -1567,6 +1567,7 @@ export default {
sure_bt: '確定'
},
panel: {
+ template_name_tips: '仪表板名称必填',
panel_background_item: '自定义仪表板背景',
panel_background_image_tips: '当前支持.jpeg,.jpg,.png,.gif文件,大小不要超过15M',
reUpload: '重新上传',
diff --git a/frontend/src/lang/zh.js b/frontend/src/lang/zh.js
index c899adf897..557f002abe 100644
--- a/frontend/src/lang/zh.js
+++ b/frontend/src/lang/zh.js
@@ -1575,6 +1575,7 @@ export default {
sure_bt: '确定'
},
panel: {
+ template_name_tips: '仪表板名称必填',
panel_background_item: '自定义仪表板背景',
panel_background_image_tips: '当前支持.jpeg,.jpg,.png,.gif文件,大小不要超过15M',
reUpload: '重新上传',
diff --git a/frontend/src/views/panel/templateMarket/component/MarketPreview.vue b/frontend/src/views/panel/templateMarket/component/MarketPreview.vue
index c27648e5b1..c15ba178da 100644
--- a/frontend/src/views/panel/templateMarket/component/MarketPreview.vue
+++ b/frontend/src/views/panel/templateMarket/component/MarketPreview.vue
@@ -12,11 +12,12 @@
-
+
@@ -64,8 +65,7 @@