fix: 修复模版为空时保存报错

This commit is contained in:
wenyann 2020-12-15 15:07:16 +08:00
parent df142d65f4
commit 97bb62a9c4
5 changed files with 5 additions and 1 deletions

View File

@ -77,6 +77,7 @@
this.isReadOnly = !this.isReadOnly
this.$store.commit('setFlag', this.isReadOnly);
this.$store.commit('setValue', item);
window.location.href = "/#/api/home";
}
}
}

@ -1 +1 @@
Subproject commit 332400be7c000a9e0e3d5e8052a74b4972e50951
Subproject commit aaeb324621dc3197c1bcbd3920600c0963fdea08

View File

@ -1,5 +1,6 @@
export default {
commons: {
please_fill_in_the_template: 'Please fill in the template',
cut_back_old_version: 'Cut back to old version',
cut_back_new_version: 'Switch back to new version',
comment: 'comment',

View File

@ -1,5 +1,6 @@
export default {
commons: {
please_fill_in_the_template: '请填写模版内容',
cut_back_old_version: '切回旧版',
cut_back_new_version: '切回新版',
comment: '评论',

View File

@ -1,5 +1,6 @@
export default {
commons: {
please_fill_in_the_template: '請填寫模版內容',
cut_back_old_version: '切回舊版',
cut_back_new_version: '切回新版',
comment: '評論',