Explorar o código

转换交易日期格式为YYYY-MM-DD格式

yourname hai 6 meses
pai
achega
41b5d7fe93
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      client/admin/pages_xunlian_codes.tsx

+ 1 - 1
client/admin/pages_xunlian_codes.tsx

@@ -89,7 +89,7 @@ export const XunlianCodePage = () => {
   // 处理表单提交
   const handleSubmit = async (values: Partial<XunlianCode>) => {
     try {
-      // 转换交易日期格式为ISO格式,确保不为null
+      // 转换交易日期格式为YYYY-MM-DD格式,确保不为null
       const submitValues = {
         ...values,
         ...(values.trade_date && {