Explorar o código

fix:创建时间

magic v %!s(int64=4) %!d(string=hai) anos
pai
achega
4722112370
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/pages/FormVolume/mixins/index.js

+ 1 - 1
src/pages/FormVolume/mixins/index.js

@@ -219,7 +219,7 @@ export default {
           let res = arrRes[0]
           let { result_id } = res.data
           let dt = edatas[0]
-          // dt.created = new Date().toString('yyyy-MM-dd HH:mm:ss')
+          dt.created = new Date().toString('yyyy-MM-dd HH:mm:ss')
           lStorage.setItem('FormResultAbnormal', dt)
           this.$router.replace({ name: 'FormResult', query: { ...this.$route.query, result_id } })
         } else {