Fix bug
This commit is contained in:
parent
29f927fe72
commit
0e0d6692c0
@ -232,7 +232,7 @@ export default Vue.extend({
|
|||||||
eyeCatchingImageId: this.eyeCatchingImageId,
|
eyeCatchingImageId: this.eyeCatchingImageId,
|
||||||
};
|
};
|
||||||
|
|
||||||
function onError(err) {
|
const onError = err => {
|
||||||
if (err.id == '3d81ceae-475f-4600-b2a8-2bc116157532') {
|
if (err.id == '3d81ceae-475f-4600-b2a8-2bc116157532') {
|
||||||
if (err.info.param == 'name') {
|
if (err.info.param == 'name') {
|
||||||
this.$root.dialog({
|
this.$root.dialog({
|
||||||
@ -247,7 +247,7 @@ export default Vue.extend({
|
|||||||
text: this.$t('name-already-exists')
|
text: this.$t('name-already-exists')
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
};
|
||||||
|
|
||||||
if (this.pageId) {
|
if (this.pageId) {
|
||||||
options.pageId = this.pageId;
|
options.pageId = this.pageId;
|
||||||
|
Loading…
Reference in New Issue
Block a user