Nuxt.js实现简单路由配置 本文将实现的路由页面关系: 实现的效果截图: 实现的代码: 首页代码 <!--首页index.vue--> <template> <div> <h1>我是首页-home</h1> <ul> <li><nuxt-link :to="{ name: 'index' }"> ...
分类:
Web程序 时间:
2021-06-29 15:16:23
阅读次数:
0
动态路由 创建User.vue <template> <div> <h2>this is {{userId}}!</h2> </div> </template> <script> export default { name: "User", computed:{ userId(){ // 获取传递的 ...
分类:
其他好文 时间:
2021-06-28 20:47:32
阅读次数:
0
xshell搭建linux 远程连接方法参考:xshell连接VMware CentOS7 xshell连接linux后安装mysql:linux centos7 安装mysql 修改mysql 初始登录密码: 1.首先使用命令: vim /etc/my.cnf 修改mysql 配置信息 在[mys ...
分类:
系统相关 时间:
2021-06-28 20:26:01
阅读次数:
0
编写重载模板 1 #include <iostream> 2 #include <sstream> 3 #include <string> 4 using namespace std; 5 6 template <typename T> 7 string debug_rep(const T &t) ...
分类:
编程语言 时间:
2021-06-28 20:25:45
阅读次数:
0
implementation 'org.greenrobot:eventbus:3.2.0' EventBus package com.qiqi.app.bean; public class EventMessageWrap { public final String message; public ...
分类:
其他好文 时间:
2021-06-28 18:59:05
阅读次数:
0
uniapp-网易云-文档结构分析-图标 文档结构 第一次接触uniapp,对于文档结构还不是非常清晰 根据个人的想法,不知道自己在干嘛的学习毫无意义,所以我们要先知道自己在干嘛 uni.scss的主要作用是存放定义好的内置常量,学习过安卓app开发的应该清楚, 安卓中也有一个这样的文件,不光是定义 ...
分类:
移动开发 时间:
2021-06-28 18:40:57
阅读次数:
0
最近跟着技术胖学习了vue3 和 typescript 记录一下自己的学习过程 现在写一个简单的菜单选择功能 1 <template> 2 <div class="hello"> 3 <div> 4 <h2>欢迎光临呱呱的小店</h2> 5 <div>请选择你喜欢的服务员</div> 6 </div ...
分类:
其他好文 时间:
2021-06-28 18:26:24
阅读次数:
0
导入相关的pom依赖 <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-starter-eureka-server</artifactId> <version>1.4.6.RELEAS ...
分类:
编程语言 时间:
2021-06-25 17:16:29
阅读次数:
0
一、HttpServletRequest类 作用:每次只要有请求进入Tomcat服务器,Tomcat服务器就会把请求过来的HTTP协议信息解析好封装到Request对象中。然后传递到service方法(doGet和doPost)中供我们使用。我们可以通过HttpServletRequest对象,获取 ...
分类:
编程语言 时间:
2021-06-23 17:12:50
阅读次数:
0