From 8fe98529c2d694a12f6bc242915951a9d5a31b44 Mon Sep 17 00:00:00 2001 From: LCJ-MinYa <1049468118@qq.com> Date: Mon, 19 Jan 2026 11:33:42 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=8B=96=E6=8B=BD=E5=B8=83=E5=B1=80-?= =?UTF-8?q?=E4=BD=93=E9=AA=8C=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- demoHtml/flex/js/i18n.js | 4 ++-- demoHtml/flex/js/index.js | 6 +++++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/demoHtml/flex/js/i18n.js b/demoHtml/flex/js/i18n.js index df927f4..4267ba3 100644 --- a/demoHtml/flex/js/i18n.js +++ b/demoHtml/flex/js/i18n.js @@ -44,7 +44,7 @@ var userLangConfig = { focused_border_color: '获得焦点时边框颜色', focused_scale: '获得焦点时边框缩放大小', copy_component: '复制组件', - default_focus_tip: '默认聚焦只能存在一个', + default_focus_tip: '默认聚焦有且只能存在一个', }, list: { update_time: '更新时间', @@ -104,7 +104,7 @@ var userLangConfig = { focused_border_color: 'focused border color', focused_scale: 'focused border scale', copy_component: 'copy component', - default_focus_tip: 'default focus only one', + default_focus_tip: 'default focus have and only one', }, list: { update_time: 'update time', diff --git a/demoHtml/flex/js/index.js b/demoHtml/flex/js/index.js index f604f5d..ffb8289 100644 --- a/demoHtml/flex/js/index.js +++ b/demoHtml/flex/js/index.js @@ -644,13 +644,17 @@ if (id) { data.id = id; } + let loadIndex = layer.load(2, { shade: 0.5 }); requestFN( { type: 'POST', url: id ? 'update' : 'save', data, }, - function () {} + function () { + layer.msg(userLangConfig[locale].base.success); + layer.close(loadIndex); + } ); }); };