From 7953d459170ab5f2fac24e2fb34fdb83b820141a Mon Sep 17 00:00:00 2001 From: lichaojun Date: Fri, 2 Jan 2026 07:22:19 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=8B=96=E6=8B=BD=E5=B8=83=E5=B1=80-?= =?UTF-8?q?=E6=94=BE=E5=BC=80=E5=A4=9A=E4=B8=AA=E5=B8=83=E5=B1=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- demoHtml/flex/GEMINI.md | 1 + demoHtml/flex/index.html | 4 ++-- demoHtml/flex/js/index.js | 8 ++++---- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/demoHtml/flex/GEMINI.md b/demoHtml/flex/GEMINI.md index 9914a86..34cb4db 100644 --- a/demoHtml/flex/GEMINI.md +++ b/demoHtml/flex/GEMINI.md @@ -5,6 +5,7 @@ - **html5** - **css3** - **javascript** +- **jquery** ## DOM结构 ```html diff --git a/demoHtml/flex/index.html b/demoHtml/flex/index.html index 7344689..e77e9b2 100644 --- a/demoHtml/flex/index.html +++ b/demoHtml/flex/index.html @@ -72,10 +72,10 @@ id="main-screen" class="grid-stack" > - + >
diff --git a/demoHtml/flex/js/index.js b/demoHtml/flex/js/index.js index 89c693a..bfe6fff 100644 --- a/demoHtml/flex/js/index.js +++ b/demoHtml/flex/js/index.js @@ -420,17 +420,17 @@ $('.save-container').click(function () { main.initData.children = main.grid.save(); - // welcome.initData.children = welcome.grid.save(); + welcome.initData.children = welcome.grid.save(); console.log(main.initData); - // console.log(welcome.initData); + console.log(welcome.initData); localStorage.setItem('mainData', JSON.stringify(conputedInitData('save', main))); - // localStorage.setItem('welcomeData', JSON.stringify(conputedInitData('save', welcome))); + localStorage.setItem('welcomeData', JSON.stringify(conputedInitData('save', welcome))); }); /** 执行方法 */ $(function () { init('main', main); - // init('welcome', welcome); + init('welcome', welcome); // 调用绑定 bindComponentEvents(); });