vue时间组件精确到时分秒---datetime

由于项目的需求,时间需精确到时分秒.

环境:数据库5.5

后端技术:springboot+maven+shiro+swagger+mybatis+redis+quartz+thyemeleaf

前端技术:vue

数据库:mysql

前台type="datetime" ,后台接收为datetime,之前写的时候,没有加format="yyyy-MM-dd HH:mm" ,导致添加未成功,一直报错,报genjinriqi这有问题.加了format="yyyy-MM-dd HH:mm" 之后,就可以添加成功了.


              
        

pom.xml



	4.0.0

	com.heeexy
	example
	1.0.0-SNAPSHOT
	jar
	permissionExample
	权限后端
	
		org.springframework.boot
		spring-boot-starter-parent
		2.0.2.RELEASE
		
	
	
		UTF-8
		UTF-8
		1.8
	
	
		
			org.springframework.boot
			spring-boot-starter-web
		
		
			org.springframework.boot
			spring-boot-devtools
			runtime
		
		
			mysql
			mysql-connector-java
			runtime
		
		
			org.springframework.boot
			spring-boot-starter-test
			test
		
		
			com.alibaba
			fastjson
			1.2.47
		
		
		
			org.mybatis.spring.boot
			mybatis-spring-boot-starter
			1.3.2
		
		
		
			org.springframework.boot
			spring-boot-starter-cache
			2.0.2.RELEASE
		
		
		
			org.apache.shiro
			shiro-spring
			1.4.0
		

		
			org.apache.commons
			commons-lang3
			${commons-lang3.version}
		

		
			commons-codec
			commons-codec
			${commons-codec.version}
		

		
			com.xiaoleilu
			hutool-all
			3.3.0
		

		
			io.springfox
			springfox-swagger2
			2.7.0
		
		
			io.springfox
			springfox-swagger-ui
			2.7.0
		

		
			com.auth0
			java-jwt
			3.3.0
		
		
			com.alibaba
			druid
			1.0.13
		

		
		
			org.apache.poi
			poi
			3.17
		

		
			org.apache.poi
			poi-ooxml
			RELEASE
		

		
			commons-fileupload
			commons-fileupload
			1.3.3
		
		
			commons-io
			commons-io
			2.4
		

		

    org.springframework.boot
    spring-boot-starter-thymeleaf
    2.0.5.RELEASE


         
		
			org.springframework.boot
			spring-boot-starter-mail
		

	
	
		
			
				org.springframework.boot
				spring-boot-maven-plugin
				
					true
				
			
			
				org.springframework.boot
				spring-boot-maven-plugin
				
					
						
							repackage
						
					
				
			
		
	

 

bean:

vue时间组件精确到时分秒---datetime_第1张图片

数据库:
 

你可能感兴趣的:(vue)