空の時はページURLにcurrentNameを代入するように
This commit is contained in:
parent
4b69b0bc09
commit
ccd284a8b7
|
@ -220,9 +220,13 @@ export default Vue.extend({
|
|||
|
||||
methods: {
|
||||
save() {
|
||||
if(this.name == ''){
|
||||
this.name = this.currentName;
|
||||
}
|
||||
|
||||
const options = {
|
||||
title: this.title.trim(),
|
||||
name: this.name == '' ? this.currentName : this.name.trim(),
|
||||
name: this.name.trim(),
|
||||
summary: this.summary,
|
||||
font: this.font,
|
||||
hideTitleWhenPinned: this.hideTitleWhenPinned,
|
||||
|
|
Loading…
Reference in a new issue