上一页 1 ··· 25 26 27 28 29 30 31 32 33 ··· 48 下一页
摘要: 阅读全文
posted @ 2022-11-18 21:39 iTao0128 阅读(21) 评论(0) 推荐(0)
摘要: 安装 npm install vue-router --save 路由映射配置 创建router文件夹 新建index.js vue实例中挂载router 使用路由 <router-link></router-link> <router-view></router-view> 默认首页(重定向) r 阅读全文
posted @ 2022-11-16 22:40 iTao0128 阅读(57) 评论(0) 推荐(0)
摘要: 通过以下可以改变浏览器中的url 跳转到home路径下: location.hash='home' 跳转到about路径下: history.pushState({},'','about') 向上回退: history.back() 向前进: history.forward() 使用test路径替换 阅读全文
posted @ 2022-11-16 20:57 iTao0128 阅读(35) 评论(0) 推荐(0)
摘要: 1. 安装element-ui npm i element-ui -S 2. main.js中配置 //1.导入组件库 import ElementUI from 'element-ui' //2.导入组件样式相关 import 'element-ui/lib/theme-chalk/index.c 阅读全文
posted @ 2022-11-03 21:44 iTao0128 阅读(683) 评论(0) 推荐(0)
摘要: 一、配置环境1.安装VS Code官网下载 https://code.visualstudio.com/ 下载VS Code,按照步骤安装。 2.安装node.js(1)官网 https://nodejs.org/en/ 下载node.js,按照步骤安装即可,node.js安装完成之后会同步安装np 阅读全文
posted @ 2022-10-23 21:23 iTao0128 阅读(1357) 评论(0) 推荐(0)
摘要: 添加依赖 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-validation</artifactId> </dependency> 实体类上添加注解 常见的注解 @No 阅读全文
posted @ 2022-10-11 22:30 iTao0128 阅读(88) 评论(0) 推荐(0)
摘要: 引入场景启动器 阅读全文
posted @ 2022-10-09 22:25 iTao0128 阅读(31) 评论(0) 推荐(0)
摘要: <dependencies> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> </dependency> <dependency> <g 阅读全文
posted @ 2022-09-27 22:25 iTao0128 阅读(171) 评论(0) 推荐(0)
摘要: 页面提交的请求数据(get,post)都可以和对象属性进行绑定 @PostMapping("/saveUser") public Person saveUser(Person person){ return person; } 阅读全文
posted @ 2022-09-25 22:28 iTao0128 阅读(25) 评论(0) 推荐(0)
摘要: Map<String,Object> map、Model model、HttpServletRequest request都是可以给request域中放数据,再用request.getAttribute取数据 package com.java.boot.controller; import org. 阅读全文
posted @ 2022-09-25 21:11 iTao0128 阅读(190) 评论(0) 推荐(0)
上一页 1 ··· 25 26 27 28 29 30 31 32 33 ··· 48 下一页