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({
|
||||
|
||||
Reference in New Issue
Block a user