Fix bug
This commit is contained in:
parent
cdff15f1b2
commit
c9142e49be
1 changed files with 2 additions and 2 deletions
|
@ -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 a new issue