mirror of
https://github.com/PanJiaChen/vue-element-admin.git
synced 2025-09-01 13:33:58 +08:00
Fix the title of the page, showing the name instead of the id
This commit is contained in:
parent
cfd42544f9
commit
d22924b507
@ -293,7 +293,7 @@ export default {
|
||||
},
|
||||
setPageTitle() {
|
||||
const title = 'Edit Account'
|
||||
document.title = `${title} - ${this.postForm.id}`
|
||||
document.title = `${title} - ${this.postForm.name}`
|
||||
},
|
||||
submitForm() {
|
||||
this.$refs.postForm.validate(valid => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user