mirror of
https://gitee.com/yudaocode/yudao-ui-admin-vben.git
synced 2025-12-30 10:32:25 +00:00
fix: reload config
This commit is contained in:
@@ -56,7 +56,6 @@ export const schema: VbenFormSchema[] = [
|
||||
show: (values) => values.type === 'afterSale',
|
||||
},
|
||||
},
|
||||
// TODO @xingyu:【缺陷】貌似 switch 在 schema 里报错了。直接。。。
|
||||
{
|
||||
fieldName: 'deliveryExpressFreeEnabled',
|
||||
label: '启用包邮',
|
||||
|
||||
@@ -58,6 +58,7 @@ async function handleSubmit() {
|
||||
data.brokerageWithdrawMinPrice = yuanToFen(data.brokerageWithdrawMinPrice!);
|
||||
await saveTradeConfig(data);
|
||||
ElMessage.success($t('ui.actionMessage.operationSuccess'));
|
||||
await getConfigInfo();
|
||||
}
|
||||
|
||||
const [Form, formApi] = useVbenForm({
|
||||
|
||||
@@ -9,7 +9,6 @@ import { z } from '#/adapter/form';
|
||||
import { getTenantPackageList } from '#/api/system/tenant-package';
|
||||
import { getRangePickerDefaultProps } from '#/utils';
|
||||
|
||||
// TODO @xingyu:这个不用 ref 么?
|
||||
let tenantPackageList: SystemTenantPackageApi.TenantPackage[] = [];
|
||||
|
||||
async function getTenantPackageData() {
|
||||
|
||||
Reference in New Issue
Block a user