diff --git a/dist/font/iconfont.eot b/dist/font/iconfont.eot index 9467079b9..e65645dbd 100644 Binary files a/dist/font/iconfont.eot and b/dist/font/iconfont.eot differ diff --git a/dist/font/iconfont.svg b/dist/font/iconfont.svg index 1d370825c..a04b152fa 100644 --- a/dist/font/iconfont.svg +++ b/dist/font/iconfont.svg @@ -14,1331 +14,1681 @@ /> - - - - - - - - - - - - - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + + + + + + + + + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + diff --git a/dist/font/iconfont.ttf b/dist/font/iconfont.ttf index 112a82ca3..09cb798ae 100644 Binary files a/dist/font/iconfont.ttf and b/dist/font/iconfont.ttf differ diff --git a/dist/font/iconfont.woff b/dist/font/iconfont.woff index 601304710..fb99c8512 100644 Binary files a/dist/font/iconfont.woff and b/dist/font/iconfont.woff differ diff --git a/dist/font/iconfont.woff2 b/dist/font/iconfont.woff2 index 1d2e11a8e..5b9bb3bd0 100644 Binary files a/dist/font/iconfont.woff2 and b/dist/font/iconfont.woff2 differ diff --git a/package.json b/package.json index b5ce32638..f2f9502e6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "fineui", - "version": "2.0.20220310211329", + "version": "2.0.20220311111233", "description": "fineui", "main": "dist/fineui.min.js", "types": "dist/lib/index.d.ts", diff --git a/src/core/4.widget.js b/src/core/4.widget.js index 2497a139f..50dd3b661 100644 --- a/src/core/4.widget.js +++ b/src/core/4.widget.js @@ -147,7 +147,10 @@ self.__async = true; var beforeRenderResult = (self.options.beforeRender || self.beforeRender).call(self, render); if (beforeRenderResult instanceof Promise) { - beforeRenderResult.then(render); + beforeRenderResult.then(render).catch(function (e) { + _global.console && console.error(e); + render(); + }); } } else { self._render(); @@ -159,7 +162,10 @@ this.__asking = true; var beforeInitResult = (this.options.beforeInit || this.beforeInit).call(this, init); if (beforeInitResult instanceof Promise) { - beforeInitResult.then(init); + beforeInitResult.then(init).catch(function (e) { + _global.console && console.error(e); + init(); + }); } } else { init(); diff --git a/src/less/lib/font.less b/src/less/lib/font.less index 3e545b4c4..2ad25a0b2 100644 --- a/src/less/lib/font.less +++ b/src/less/lib/font.less @@ -1,57 +1,57 @@ //字体库 -@font-cross: "e6d0"; +@font-cross: "e1ab"; -@font-circle-close: "e6d5"; +@font-circle-close: "e1a9"; -@font-search: "e6dc"; +@font-search: "e1c3"; -@font-date: "e733"; -@font-time: "e6b1"; -@font-change: "e72f"; +@font-date: "e1d3"; +@font-time: "e1ae"; +@font-change: "e1cd"; -@font-dot: "e762"; +@font-dot: "e1aa"; -@font-plus: "e75b"; -@font-minus: "e75a"; +@font-plus: "e1a0"; +@font-minus: "e19e"; -@font-right-triangle: "e70c"; +@font-right-triangle: "e1bd"; -@font-copy: "e6bd"; -@font-check-mark: "e6cf"; +@font-copy: "e1ad"; +@font-check-mark: "e1b0"; -@font-arrow-left: "e70d"; -@font-arrow-right: "e70c"; +@font-arrow-left: "e1bc"; +@font-arrow-right: "e1bd"; -@font-up-triangle: "e70a"; -@font-down-triangle: "e70b"; +@font-up-triangle: "e1c6"; +@font-down-triangle: "e1c9"; -@font-solid-left: "e6d9"; -@font-solid-right: "e6d8"; -@font-solid-top: "e6d6"; -@font-solid-bottom: "e6d7"; +@font-solid-left: "e1c4"; +@font-solid-right: "e1a5"; +@font-solid-top: "e1ac"; +@font-solid-bottom: "e1c0"; -@font-trigger-triangle: "e64e"; +@font-trigger-triangle: "e1d5"; -@font-less: "e75e"; -@font-less-equal: "e761"; +@font-less: "e1d1"; +@font-less-equal: "e1d2"; -@font-bold: "e697"; -@font-italic: "e69d"; -@font-underline: "e69c"; -@font-color: "e698"; -@font-background: "e699"; -@font-color-underline: "e69a"; -@font-align-left: "e6ca"; -@font-align-center: "e6bf"; -@font-align-right: "e6c8"; +@font-bold: "e19b"; +@font-italic: "e199"; +@font-underline: "e1d6"; +@font-color: "e198"; +@font-background: "e19a"; +@font-color-underline: "e19c"; +@font-align-left: "e1a7"; +@font-align-center: "e1a2"; +@font-align-right: "e1af"; -@font-tip-error: "e757"; -@font-tip-success: "e756"; -@font-tip-warning: "e755"; -@font-tip-message: "e74b"; +@font-tip-error: "e1da"; +@font-tip-success: "e1db"; +@font-tip-warning: "e1d7"; +@font-tip-message: "e1d9"; -@font-key: "e740"; +@font-key: "e1d0"; -@font-add: "e6dd"; +@font-add: "e1c7";