修复商户Id读取及保存
This commit is contained in:
@@ -162,7 +162,7 @@
|
||||
import { removeSiteInfoCache } from '@/api/cms/website';
|
||||
import { ItemType } from 'ele-admin-pro/es/ele-image-upload/types';
|
||||
import { FileRecord } from '@/api/system/file/model';
|
||||
import { uuid } from '@/components/TinymceEditor/util';
|
||||
import { getMerchantId } from '@/utils/common';
|
||||
|
||||
// 是否开启响应式布局
|
||||
const themeStore = useThemeStore();
|
||||
@@ -221,7 +221,8 @@
|
||||
articleCategoryId: 0,
|
||||
articleId: 0,
|
||||
pageName: '',
|
||||
isMpWeixin: false
|
||||
isMpWeixin: false,
|
||||
merchantId: undefined
|
||||
});
|
||||
|
||||
// 表单验证规则
|
||||
@@ -373,7 +374,8 @@
|
||||
.then(() => {
|
||||
const navigationForm = {
|
||||
...form,
|
||||
parentId: form.parentId || 0
|
||||
parentId: form.parentId || 0,
|
||||
merchantId: getMerchantId()
|
||||
};
|
||||
const saveOrUpdate = isUpdate.value ? updateNavigation : addNavigation;
|
||||
saveOrUpdate(navigationForm)
|
||||
|
||||
Reference in New Issue
Block a user