feature/0723/ZR
release/0.01
@@ -30,2 +30,2 @@
linkUrl: '',
area: '广东省深圳市',
params: 'EV20260701001',
area: '深圳市',
mock 删了
@@ -3,3 +3,3 @@
* 对应接口:GET /admin/finance/paymentFlow/page
*/
import type { PaymentFlowVO, PaymentFlowQueryParams, PageData } from '@/api/payments';
import type { PaymentFlowVO, PaymentFlowQueryParams, PaymentFlowPageData } from '@/api/payments';
this
@@ -514,0 +473,4 @@
name="title"
rules={[
{ required: true, message: '请输入' },
{ max: TITLE_MAX, message: `标题最多 ${TITLE_MAX} 个字符` },
这个抽离 到form 上
@@ -534,0 +492,4 @@
{ required: true, message: '请上传 Banner 图片' },
{
validator: async () => {
if (formData.imageStatus === 'uploading') {
@@ -542,0 +552,4 @@
<Form.Item
label="跳转类型"
name="type"
rules={[{ required: true, message: '请选择跳转类型' }]}
@@ -542,0 +565,4 @@
{formData.type === '1' && (
<Form.Item label="关联赛事" name="relatedEventId">
<Select
v-model:value={formData.relatedEventId}
直接绑定表单 value 不就行了 这个tsx 为啥 还要用v-model
@@ -542,0 +596,4 @@
placeholder="https://xxx"
maxlength={URL_MAX}
allowClear
v-model:value={formData.linkUrl}
this v-model
@@ -174,0 +337,4 @@
setTimeout(() => {
formRef.value?.validateFields(['imageUrl']).catch(() => {});
}, 0);
};
const revalidateImageUrl = async() => {
await formRef.value?.validateFields(['imageUrl']).catch(() => {});
@@ -159,2 +141,2 @@
setAllData([]);
setTimeout(() => handleSearch(), 350);
pagination.reset();
setTimeout(fetchList, 350);
你这个也是 都做了 节流了 还加什么 setTimeout 直接一个await 不就行了吗
@@ -66,0 +63,4 @@
key: 'idCard',
width: 180,
customRender: ({ record }: { record?: TournamentAdminInfoSignupVO }) =>
record?.idCard ? record.idCard : <span>-</span>,
--
@@ -38,3 +34,1 @@
}
});
onUnmounted(() => observer?.disconnect());
if (!el) return;
何必呢 const el = textRef.value;
@@ -50,0 +82,4 @@
// 同步 total 到 pagination
useEffect(() => {
const total = (data.value as any)?.data?.total;
if (total !== undefined) pagination.setTotal(total);
!total
@@ -137,2 +130,2 @@
setSummary({ totalPay: '0.00', totalRefund: '0.00' });
@@ -172,2 +169,2 @@
setSummary({ totalBalance: '0.00', frozenAmount: '0.00', totalWithdraw: '0.00' });
@@ -181,2 +235,3 @@
</span>
<TextArea
v-model={auditForm.remark}
v-model:value={auditForm.remark}
不要用 v-model
@@ -159,2 +191,2 @@
setDataSource([]);
直接await
@@ -98,0 +82,4 @@
if (props.visible) {
initFormFromRecord(props.record);
setTimeout(() => formRef.value?.clearValidate(), 0);
No dependencies set.
The note is not visible to the blocked user.
@@ -30,2 +30,2 @@linkUrl: '',area: '广东省深圳市',params: 'EV20260701001',area: '深圳市',mock 删了
@@ -3,3 +3,3 @@* 对应接口:GET /admin/finance/paymentFlow/page*/import type { PaymentFlowVO, PaymentFlowQueryParams, PageData } from '@/api/payments';import type { PaymentFlowVO, PaymentFlowQueryParams, PaymentFlowPageData } from '@/api/payments';this
@@ -514,0 +473,4 @@name="title"rules={[{ required: true, message: '请输入' },{ max: TITLE_MAX, message: `标题最多 ${TITLE_MAX} 个字符` },这个抽离 到form 上
@@ -534,0 +492,4 @@{ required: true, message: '请上传 Banner 图片' },{validator: async () => {if (formData.imageStatus === 'uploading') {this
@@ -542,0 +552,4 @@<Form.Itemlabel="跳转类型"name="type"rules={[{ required: true, message: '请选择跳转类型' }]}this
@@ -542,0 +565,4 @@{formData.type === '1' && (<Form.Item label="关联赛事" name="relatedEventId"><Selectv-model:value={formData.relatedEventId}直接绑定表单 value 不就行了 这个tsx 为啥 还要用v-model
@@ -542,0 +596,4 @@placeholder="https://xxx"maxlength={URL_MAX}allowClearv-model:value={formData.linkUrl}this v-model
@@ -174,0 +337,4 @@setTimeout(() => {formRef.value?.validateFields(['imageUrl']).catch(() => {});}, 0);};const revalidateImageUrl = async() => {
await formRef.value?.validateFields(['imageUrl']).catch(() => {});
};
@@ -159,2 +141,2 @@setAllData([]);setTimeout(() => handleSearch(), 350);pagination.reset();setTimeout(fetchList, 350);你这个也是 都做了 节流了 还加什么 setTimeout 直接一个await 不就行了吗
@@ -66,0 +63,4 @@key: 'idCard',width: 180,customRender: ({ record }: { record?: TournamentAdminInfoSignupVO }) =>record?.idCard ? record.idCard : <span>-</span>,--
@@ -38,3 +34,1 @@}});onUnmounted(() => observer?.disconnect());if (!el) return;何必呢 const el = textRef.value;
@@ -50,0 +82,4 @@// 同步 total 到 paginationuseEffect(() => {const total = (data.value as any)?.data?.total;if (total !== undefined) pagination.setTotal(total);!total
@@ -137,2 +130,2 @@setSummary({ totalPay: '0.00', totalRefund: '0.00' });setTimeout(() => handleSearch(), 350);pagination.reset();setTimeout(fetchList, 350);this
@@ -172,2 +169,2 @@setSummary({ totalBalance: '0.00', frozenAmount: '0.00', totalWithdraw: '0.00' });setTimeout(() => handleSearch(), 350);pagination.reset();setTimeout(fetchList, 350);this
@@ -181,2 +235,3 @@</span><TextAreav-model={auditForm.remark}v-model:value={auditForm.remark}不要用 v-model
@@ -159,2 +191,2 @@setDataSource([]);setTimeout(() => handleSearch(), 350);pagination.reset();setTimeout(fetchList, 350);直接await
@@ -98,0 +82,4 @@useEffect(() => {if (props.visible) {initFormFromRecord(props.record);setTimeout(() => formRef.value?.clearValidate(), 0);this