cc12458 1 месяц назад
Родитель
Сommit
cadcdb0ff4
1 измененных файлов с 20 добавлено и 0 удалено
  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
+  }
+});