404页面icon和title修改

This commit is contained in:
walker-sheng 2021-02-25 14:34:09 +08:00
parent 80c988cc02
commit b600cbff8f

View File

@ -38,6 +38,10 @@
<script> <script>
export default { export default {
name: "Page404", name: "Page404",
created() {
document.querySelector("link[rel*='icon']").href = null;
document.title = '404';
},
computed: { computed: {
message() { message() {
return "The webmaster said that you can not enter this page..."; return "The webmaster said that you can not enter this page...";