diff --git a/ruoyi-admin/src/main/resources/static/ruoyi/js/ry-ui.js b/ruoyi-admin/src/main/resources/static/ruoyi/js/ry-ui.js index 6594ea2b1..9704d2507 100644 --- a/ruoyi-admin/src/main/resources/static/ruoyi/js/ry-ui.js +++ b/ruoyi-admin/src/main/resources/static/ruoyi/js/ry-ui.js @@ -1586,7 +1586,7 @@ var table = { if (!format) format = "yyyy-MM-dd"; switch (typeof date) { case "string": - date = new Date(date.replace(/-/, "/")); + date = new Date(date.replace(/-/g, "/")); break; case "number": date = new Date(date);