404页面icon修改

This commit is contained in:
walker-sheng 2021-02-25 14:38:05 +08:00
parent b600cbff8f
commit c005d03a4b

View File

@ -39,7 +39,7 @@
export default {
name: "Page404",
created() {
document.querySelector("link[rel*='icon']").href = null;
document.querySelector("link[rel*='icon']").href = '404';
document.title = '404';
},
computed: {