瀏覽代碼

修改information标题(2513)

zhangxc 5 年之前
父節點
當前提交
58137ac1c7
共有 2 個文件被更改,包括 1 次插入1 次删除
  1. 0 1
      src/html/information.html
  2. 1 0
      src/js/information.js

+ 0 - 1
src/html/information.html

@@ -3,7 +3,6 @@
 
 <head>
   <meta charset="utf-8">
-  <title>诊断指南</title>
   <style>
     * {
       margin: 0;

+ 1 - 0
src/js/information.js

@@ -16,6 +16,7 @@ function getInfomation() {
 
   post(config.information, param).then((res) => {
     const data = res.data.data
+    document.title = data.name
     var str = '';
     var anchors = '';
     var item = '';