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(); });