feat: title

This commit is contained in:
steven
2023-03-02 13:56:22 +08:00
parent b798f55745
commit e24da886ec
3 changed files with 10 additions and 11 deletions

View File

@@ -330,7 +330,7 @@ const handlePublish = () => {
const backHome = () => {
router.push("/home");
document.title = "智能调研工具";
document.title = "智能洞察工具";
};
const fetchInfo = () => {

View File

@@ -456,7 +456,6 @@ router.beforeEach(async (to, from, next) => {
if (!router.options.history.state.back) {
await getToken();
}
console.log(2);
if (!to.meta.noRedirectLogin) {
if (window.self === window.top) {
// window.parent.location.href = 'https://yip-uat.dctest.digitalyili.com/login';

View File

@@ -87,7 +87,7 @@ module.exports = {
.end();
config.plugin("loadshReplace").use(new LodashModuleReplacementPlugin());
config.plugin('html').tap(args => {
args[0].title = "智能调研工具";
args[0].title = "智能洞察工具";
return args;
});
// config.module