瀏覽代碼

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

yourname 6 月之前
父節點
當前提交
41b5d7fe93
共有 1 個文件被更改,包括 1 次插入1 次删除
  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 && {