404页面icon和title修改
This commit is contained in:
parent
80c988cc02
commit
b600cbff8f
@ -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...";
|
||||||
|
Reference in New Issue
Block a user