浏览代码

Merge branch 'http_mock' of git.xiaojukeji.com:jacklijiajia/thoth-frontend into http_mock

qinzhipeng_v 5 年之前
父节点
当前提交
5814653b9f
共有 2 个文件被更改,包括 2 次插入1 次删除
  1. 1 0
      src/layout/index.vue
  2. 1 1
      src/views/projectManage/requirement/list/index.vue

+ 1 - 0
src/layout/index.vue

@@ -63,6 +63,7 @@ export default {
     position: relative;
     position: relative;
     height: 100%;
     height: 100%;
     width: 100%;
     width: 100%;
+    overflow: auto;
     &.mobile.openSidebar{
     &.mobile.openSidebar{
       position: fixed;
       position: fixed;
       top: 0;
       top: 0;

+ 1 - 1
src/views/projectManage/requirement/list/index.vue

@@ -257,7 +257,7 @@ export default {
       })
       })
     },
     },
     getcreateTime(time) {
     getcreateTime(time) {
-      return time.substring(2, 10).replace(/-/g, '/')
+      return time.substring(0, 10)
     },
     },
     // 分页pageSize选择
     // 分页pageSize选择
     handleSizeChange: function(pageSize) {
     handleSizeChange: function(pageSize) {