feat: title
This commit is contained in:
@@ -330,7 +330,7 @@ const handlePublish = () => {
|
|||||||
|
|
||||||
const backHome = () => {
|
const backHome = () => {
|
||||||
router.push("/home");
|
router.push("/home");
|
||||||
document.title = "智能调研工具";
|
document.title = "智能洞察工具";
|
||||||
};
|
};
|
||||||
|
|
||||||
const fetchInfo = () => {
|
const fetchInfo = () => {
|
||||||
|
|||||||
@@ -456,7 +456,6 @@ router.beforeEach(async (to, from, next) => {
|
|||||||
if (!router.options.history.state.back) {
|
if (!router.options.history.state.back) {
|
||||||
await getToken();
|
await getToken();
|
||||||
}
|
}
|
||||||
console.log(2);
|
|
||||||
if (!to.meta.noRedirectLogin) {
|
if (!to.meta.noRedirectLogin) {
|
||||||
if (window.self === window.top) {
|
if (window.self === window.top) {
|
||||||
// window.parent.location.href = 'https://yip-uat.dctest.digitalyili.com/login';
|
// window.parent.location.href = 'https://yip-uat.dctest.digitalyili.com/login';
|
||||||
|
|||||||
@@ -87,7 +87,7 @@ module.exports = {
|
|||||||
.end();
|
.end();
|
||||||
config.plugin("loadshReplace").use(new LodashModuleReplacementPlugin());
|
config.plugin("loadshReplace").use(new LodashModuleReplacementPlugin());
|
||||||
config.plugin('html').tap(args => {
|
config.plugin('html').tap(args => {
|
||||||
args[0].title = "智能调研工具";
|
args[0].title = "智能洞察工具";
|
||||||
return args;
|
return args;
|
||||||
});
|
});
|
||||||
// config.module
|
// config.module
|
||||||
|
|||||||
Reference in New Issue
Block a user