Update src/client/app/common/views/pages/page-editor/page-editor.vue
Co-Authored-By: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
This commit is contained in:
parent
ccd284a8b7
commit
f2a2d7365f
|
@ -220,7 +220,7 @@ export default Vue.extend({
|
||||||
|
|
||||||
methods: {
|
methods: {
|
||||||
save() {
|
save() {
|
||||||
if(this.name == ''){
|
if (this.name.length == 0) {
|
||||||
this.name = this.currentName;
|
this.name = this.currentName;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue