From 196ab50c376fb8acf140894003a3c2b9047addc6 Mon Sep 17 00:00:00 2001 From: shanhexi Date: Fri, 8 Dec 2023 21:54:49 +0800 Subject: [PATCH] iconfont --- chat2db-client/.umirc.ts | 4 +- .../src/assets/font/demo_index.html | 167 ++++++++---------- chat2db-client/src/assets/font/iconfont.css | 34 ++-- chat2db-client/src/assets/font/iconfont.js | 2 +- chat2db-client/src/assets/font/iconfont.json | 49 +++-- chat2db-client/src/assets/font/iconfont.ttf | Bin 63020 -> 62696 bytes chat2db-client/src/assets/font/iconfont.woff | Bin 39396 -> 39076 bytes chat2db-client/src/assets/font/iconfont.woff2 | Bin 33652 -> 33292 bytes .../src/blocks/DatabaseTableEditor/index.tsx | 2 +- chat2db-client/src/blocks/NewTree/index.tsx | 30 +++- .../src/blocks/NewTree/treeConfig.tsx | 2 +- chat2db-client/src/typings/tree.ts | 2 +- chat2db-client/src/utils/index.ts | 4 +- 13 files changed, 140 insertions(+), 156 deletions(-) diff --git a/chat2db-client/.umirc.ts b/chat2db-client/.umirc.ts index ee096af5f..5e331ae96 100644 --- a/chat2db-client/.umirc.ts +++ b/chat2db-client/.umirc.ts @@ -79,9 +79,9 @@ export default defineConfig({ // }], links: [{ rel: 'icon', type: 'image/ico', sizes: '32x32', href: '/static/front/logo.ico' }], headScripts: [ - `if (localStorage.getItem('app-local-storage-versions') !== 'v3') { + `if (localStorage.getItem('app-local-storage-versions') !== 'v4') { localStorage.clear(); - localStorage.setItem('app-local-storage-versions', 'v3'); + localStorage.setItem('app-local-storage-versions', 'v4'); }`, `if (window.electronApi) { window.electronApi.startServerForSpawn() }`, // `if ("serviceWorker" in navigator) { diff --git a/chat2db-client/src/assets/font/demo_index.html b/chat2db-client/src/assets/font/demo_index.html index 5b0025b30..2fc44bb84 100644 --- a/chat2db-client/src/assets/font/demo_index.html +++ b/chat2db-client/src/assets/font/demo_index.html @@ -54,6 +54,24 @@