Sfoglia il codice sorgente

增加 乐亭县 配置

cc12458 1 mese fa
parent
commit
cadcdb0ff4
1 ha cambiato i file con 20 aggiunte e 0 eliminazioni
  1. 20 0
      public/config.laoting.js

+ 20 - 0
public/config.laoting.js

@@ -0,0 +1,20 @@
+window.SIX_config = {
+  _: '乐亭县',
+  BASE_URL: window.BASE_URL,
+  title: '中医智能辅助诊疗系统',
+  // icon: 'favicon.ico',
+  // logo: '',
+  // AI_URL: '',
+  // AI_MODEL_URL: '',
+  // SST_TOKEN_URL: '',
+  // NLP_GET_URL: '',
+
+  unifyPrescription: '医派协定方',
+}
+document.addEventListener('DOMContentLoaded', function () {
+  document.title = window.SIX_config.title;
+  if (SIX_config.icon) {
+    const icon =  document.querySelector('link[rel="icon"]');
+    icon.href = window.SIX_config.icon
+  }
+});