From 654fc40ad24b652ac69579f5d28235b7d6b5d428 Mon Sep 17 00:00:00 2001 From: Eddie <102564160@qq.com> Date: Fri, 18 Jun 2021 14:18:54 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E5=8A=A8=E6=80=81titile=20?= =?UTF-8?q?=20=E5=8A=A8=E6=80=81=E8=A7=92=E6=A0=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/index.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/index.vue b/src/views/index.vue index db70b8a..c2bff95 100644 --- a/src/views/index.vue +++ b/src/views/index.vue @@ -60,13 +60,13 @@ export default { this.modeInit = JSON.parse(res.data.mod_list[0].data); // 设置title 和 网页小角标 - document.title = "智莺生活"; + document.title = this.modeInit.title; var link = document.querySelector("link[rel*='icon']") || document.createElement("link"); link.type = "image/x-icon"; link.rel = "shortcut icon"; - link.href = "http://h5.99813608.zhiyingos.com/static/favicon.png"; + link.href = this.modeInit.icon; document.getElementsByTagName("head")[0].appendChild(link); });