COMP0008 Written Java Coursework (2019/20) NOTE: Your final Moodle submission will consist of a number of parts:1.Three different versions of the “Con ...
分类:
其他好文 时间:
2019-12-28 19:01:47
阅读次数:
84
作用是操作dom 场景:图片加载完以后获取图片的宽高 // window上添加事件监听后,组件销毁前需要移除 作用是操作dom 场景:图片加载完以后获取图片的宽高 // window上添加事件监听后,组件销毁前需要移除 class Test extends React.Component { con ...
分类:
其他好文 时间:
2019-12-28 15:50:47
阅读次数:
156
mysql 访问控制和用户管理 目的:确保数据的安全。用户的访问权限不能多也不能少。 root对数据库有完全的控制。 在日常工作中,不要使用root,而是使用有限权限的一系列账户,根据使用者的身份,给予不同的权限。 select user(); 查看当前用户; SELECT DISTINCT CON ...
分类:
数据库 时间:
2019-12-27 11:23:03
阅读次数:
101
CREATE VIEW `wos_tzgg_con` AS select `wos_xxzy_con`.`id` AS `id`,`wos_xxzy_con`.`title` AS `title`,`wos_xxzy_con`.`code` AS `code`,from_unixtime(`wos_ ...
分类:
其他好文 时间:
2019-12-27 09:19:14
阅读次数:
57
SQL DEFAULT 约束 DEFAULT 约束用于向列中插入默认值。 如果没有规定其他的值,那么会将默认值添加到所有的新记录。 1、ALTER TABLE Persons ALTER City SET DEFAULT 'SANDNES' 2、ALTER TABLE Persons ADD CON ...
分类:
数据库 时间:
2019-12-26 21:08:05
阅读次数:
96
// 构造函数 function arr(name, text) { this.name = name; this.text = text; this.class = 'clo-1'; // return this,默认有这一行 } let f = new arr('col-2', arr) con ...
分类:
Web程序 时间:
2019-12-26 09:57:11
阅读次数:
73
1、properties文件内容映射到类对象(属性),如Resource目录下的1.properties文件已配置前缀为com.imooc.people相关的信息,然后: pom添加依赖:springboot-configuration-processor People类对象上方添加注解: @Con ...
分类:
其他好文 时间:
2019-12-26 00:09:05
阅读次数:
283
<template> <div class="video_con"> <video controls class="video" ref="video"></video> </div> </template> <script> // npm install hls.js -S let Hls = r ...
分类:
Web程序 时间:
2019-12-25 16:13:44
阅读次数:
295
从图中可以看出:ContextLoaderListener初始化的上下文加载的Bean是对于整个应用程序共享的,不管是使用什么表现层技术,一般如DAO层、Service层Bean;DispatcherServlet初始化的上下文加载的Bean是只对Spring Web MVC有效的Bean,如Con ...
分类:
其他好文 时间:
2019-12-24 18:32:37
阅读次数:
55
一、Spring MVC auto-con?guration Spring Boot 自动配置好了SpringMVC 以下是SpringBoot对SpringMVC的默认配置:(WebMvcAutoCon?guration) Inclusion of: ContentNegotiatingViewR ...
分类:
编程语言 时间:
2019-12-24 15:48:03
阅读次数:
117