修改title和ico

This commit is contained in:
A1300399510
2023-07-13 15:29:57 +08:00
parent 093c8e3383
commit fdec30ad9c
13 changed files with 6301 additions and 18647 deletions

15
src/utils/util.js Normal file
View File

@@ -0,0 +1,15 @@
function setSeoTitle(title) {
document.title = '港校租房-' + title
}
function redirectToExternalWebsite(url) {
const link = document.createElement('a');
link.href = url;
link.target = '_blank';
link.click();
}
module.exports = {
setSeoTitle,
redirectToExternalWebsite,
}