空の時はページURLにcurrentNameを代入するように

This commit is contained in:
Oni-Men 2019-08-30 08:49:02 +09:00
parent 4b69b0bc09
commit ccd284a8b7

View file

@ -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,