diff --git a/src/api/method.js b/src/api/method.js
index 5b7580e..9212245 100644
--- a/src/api/method.js
+++ b/src/api/method.js
@@ -2,7 +2,7 @@
* @Author: lixg lixg@dongwu-inc.com
* @Date: 2022-12-19 11:35:37
* @LastEditors: lixg lixg@dongwu-inc.com
- * @LastEditTime: 2023-03-04 17:42:01
+ * @LastEditTime: 2023-03-10 03:44:17
* @FilePath: /fe-stu/src/views/project/method.js
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
*/
@@ -35,6 +35,18 @@ function toDate(number, format) {
return format;
}
// 修改时间格式---------end-----------------------------
+
+
+// 修改时间格式
+function changeTime(time) {
+ // console.log('time', time)
+ if (time) {
+ let newtime = time.replaceAll("-", "/")
+ return newtime
+ }
+
+}
export {
- toDate
+ toDate,
+ changeTime
}
\ No newline at end of file
diff --git a/src/components/CommentReply.vue b/src/components/CommentReply.vue
index e72c7a5..069b7f3 100644
--- a/src/components/CommentReply.vue
+++ b/src/components/CommentReply.vue
@@ -76,7 +76,7 @@
style="position: relative"
>