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