12 2021 档案
摘要:Ant Design Vue官网:https://www.antdv.com/components/button-cn/ 集成第三方组件一般都在main.ts里加配置
阅读全文
摘要:node_modules: 整个项目引用的js模块都在里面,类似Java中的maven components : 组件 前端重要的概念懒加载:访问某个页面才加载 通过main.ts将App.vue和index.html联系在一起
阅读全文
摘要:1.根据名称模糊查询电子书 2.封装请求(req)和返回参数(resp)
阅读全文
摘要:1.后端会有很多的接口,为了让前端能够统一的处理逻辑(登录校验、权限校验),需要统一后端的返回值 package com.jiawa.wiki.resp; public class CommonResp<T> { /** * 业务上的成功或失败 */ private boolean success
阅读全文
摘要:1.使用雪花算法生成ID,bigint对应Java的long(生成了一个ebook表) 2.使用generator生成代码生成持久层代码 3.写service代码和controller代码、写ebook.http测试代码
阅读全文
摘要:1.集成Mybatis Generator 在pom.xml中添加如下代码:(在plugins里面) <!-- mybatis generator 自动生成代码插件 --> <plugin> <groupId>org.mybatis.generator</groupId> <artifactId>m
阅读全文
摘要:<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>2021-12-7</title> <style type="text/css"> /* background: 颜色 图片 图片位置(270px 10px) 平铺方式 */ di
阅读全文
摘要:<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>2021-12-6</title> <link rel="stylesheet" type="text/css" href="../css/列表的样式.css"/> </head>
阅读全文
摘要:<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>2021-12-6</title> </head> <style type="text/css"> /*默认的颜色*/ a{ text-decoration: none; colo
阅读全文
摘要:<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>2021-11-30字体样式</title> <style type="text/css"> /* 颜色:单词RGB:0~F RGBA:(A的范围是0~1) text-align:
阅读全文

浙公网安备 33010602011771号