diff --git a/index.html b/index.html index 960b1eb..c0f17bb 100644 --- a/index.html +++ b/index.html @@ -42,14 +42,14 @@ function removeOtherLinks(link) { const links = document.querySelectorAll('link[rel="stylesheet"]'); const linkTail = link.getAttribute('href').split('/').pop() - console.log("Loaded: ", linkTail) + // console.log("Loaded: ", linkTail) if (loadedLinks.includes(linkTail)) return; loadedLinks.push(linkTail); links.forEach(l => { const lTail = l.getAttribute('href').split('/').pop() if ((l !== link) && (lTail === linkTail)) { l.remove(); - console.log("Removed: ", lTail) + // console.log("Removed: ", lTail) } }); } @@ -57,7 +57,7 @@ function removeOtherScripts(link) { const links = document.querySelectorAll('script[src]'); const linkTail = link.getAttribute('src').split('/').pop(); - console.log("Loaded: ", linkTail) + // console.log("Loaded: ", linkTail) if (loadedScripts.includes(linkTail)) return; loadedScripts.push(linkTail); @@ -66,7 +66,7 @@ const lTail = l.getAttribute('src').split('/').pop() if ((l !== link) && (lTail === linkTail)) { l.remove(); - console.log("Removed: ", lTail) + // console.log("Removed: ", lTail) } }); } @@ -151,6 +151,13 @@ display: none; } + @font-face{ + font-family:"Material Design Icons"; + src:url("https://gcore.jsdelivr.net/npm/@mdi/font/fonts/materialdesignicons-webfont.woff2"); + src:url("https://cdn.jsdmirror.com/npm/@mdi/font/fonts/materialdesignicons-webfont.woff2"); + src:url("https://cdn.jsdelivr.net/npm/@mdi/font/fonts/materialdesignicons-webfont.woff2"); + } + html, .v-card, .v-field__input { @@ -350,17 +357,23 @@ + icon @click="messageStore.init()"> + mdi-alpha-a-circle +
A
- + + mdi-alpha-i-circle +
I
+ icon @click="settingStore.configHistory = true"> + mdi-alpha-q-circle +
Q
@@ -373,7 +386,7 @@ + @click="messageStore.sendMessage" icon>L @@ -866,6 +879,7 @@
{{ column.key }}
apiKeyShow: false, toolboxShow: false, + fontStatus: false }), actions: { initDialog() { @@ -876,7 +890,7 @@
{{ column.key }}
historyStore.resetState() chatbotStore.resetState() defaultChoiceStore.resetState() - } + }, }, }); @@ -1395,6 +1409,10 @@
{{ column.key }}
}, { deep: true }); + document.fonts.ready.then(() => { + settingStore.fontStatus = true + }); + return { configFile, @@ -1406,6 +1424,7 @@
{{ column.key }}
defaultChoiceStore, chatbotStore, historyStore, + }; }