vue-element-admin modify page title (title)

1. Find the permission.js page

Where document.title = getPageTitle(to.meta.title) is to set the title
and then find the getPageTitle method, hold down the Ctrl key and left click the getPageTitle method to jump to the get-page-title.js file interface
insert image description here

2. Find get-page-title.js

const title = defaultSettings.title || 'oe online education' This sentence is to define the title and modify it
insert image description here

3. Find settings.js again

Modify the default title
insert image description here

Guess you like

Origin blog.csdn.net/qq_45844443/article/details/115870393