vue里面路由传参的三种方式

1、方式一 通过query的方式也就是?的方式路径会显示传递的参数 HTML的方式 <router-link :to="{name:xxx,query:{page:1,code:8899}}"></router-link> JS的方式 <template> <div> <a @click="routerTo()">query传参</a> </div> </template> <script> export default { methods: { routerTo
分类: 其他 发布时间: 12-14 23:34 阅读次数: 0

Android-ContentProvider流程

Android-ContentProvider原理及流程 Android为什么设计出一个ContentProvider ? 答:ContentProvider的出现主要是暴露数据出去,暴露什么数据呢 (暴露数据库SqliteDatabase里面的数据),由ContentProvider管控好增删改查,让其他应用程序来访问增删改查   Android设计了intent-filter对外暴露(可以隐式意图激活/远程服务绑定通讯)这属于最组件的暴露,而ContentProvider属于数据库的暴露
分类: 其他 发布时间: 12-14 23:34 阅读次数: 0

Mac苹果电脑单片机开发

1、安装虚拟机 可以阅读往期文章:Mac苹果电脑安装虚拟机 2、安装CH340驱动,keil4,PZ-ISP, 下载 CH340驱动安装 下载keil4破解及汉化 下载普中科技烧录软件
分类: 其他 发布时间: 12-14 23:34 阅读次数: 0

001、写在最前面(2018-12-14 星期五)

参考 https://www.cnblogs.com/CloudMan6/p/6693772.html 为什么要写这个? 昨天和同事约定,一起系统的学习一下Docker。教程选定的是CloudMan的 《每天5分钟玩转 Docker 容器技术》 ,每天五分钟跟着大神学Docker。 为了更好的互相监督,每天将所学内容以博客的形式记录下来。 ps:大神的书早在 618 的时候就已经支持过了,下图为证。只是被我完好的收藏了起来,惭愧。 学习大纲 容器的好处,在此不再叙述。下面是Docker的学习大
分类: 其他 发布时间: 12-14 23:34 阅读次数: 0

vue学习3

组件之间的传值 1 <!DOCTYPE html> 2 <html lang="en"> 3 <head> 4 <meta charset="UTF-8"> 5 <title>Title</title> 6 7 </head> 8 <body> 9 <div id="app"> 10 <sakula v-bind:nadao="tulong"></sakula> 11 <hr> 12 <pg></pg> 13 </div> 14 <s
分类: 其他 发布时间: 12-14 23:34 阅读次数: 0

linux学习第十七天 (Linux就该这么学)

今天12月14日学习比较少点,等了一会,主要讲了squid代理,1,正向代理 2反向代理 正向代表分为:标准的正向代理,透明的正向代理 ,这个比较实用, 还讲了RHCE考试的中的内容 iscsi  是 网络小型计算机系统接口,要主讲 服务端配置和客户端的挂载,都要考,不过用配置工具,targetcli工具 服务中target 要服务端添加 那个硬盘提供服务,是那个名称,以及是服务器的那个ip提供,端口号默认是3260 ,客户端使用用,名字要一服务端创建的一致,要使用一是发现,二是登录 先安装i
分类: 其他 发布时间: 12-14 23:34 阅读次数: 0

ACM第一期练习题第二小题:George and Accommodation

George and Accommodation Time limit 1000ms; Memory limit 262144KB; Problem Description: George has recently entered the BSUCP (Berland State University for Cool Programmers). George has a friend Alex who has also entered the university. Now they are
分类: 其他 发布时间: 12-14 23:34 阅读次数: 0

ACM练习第一期第三小题:Stones on the table

Stones on the table Time limit 2000ms; Memory 262144KB Problem Description:(Stones on the Table) There are n stones on the table in a row, each of them can be red, green or blue. Count the minimum number of stones to take from the table so that any
分类: 其他 发布时间: 12-14 23:34 阅读次数: 0

ACM第一期练习第四小题:A + B Problem

A+B Problem Calculate A + B. Input Each line will contain two integers A and B. Process to end of file. Output For each case, output A + B in one line. Sample Input 1 1 Sample Output 2 问题简述: 第一行输入两个整型数字并以空格分开,第二行输出A+B的结果,并且要可以输入多组数据。 问题分析: 为了实现可以输入多
分类: 其他 发布时间: 12-14 23:33 阅读次数: 0

ACM第一期练习题第六小题:ASCII码排序

click here to have a try first 问题题目: ASCII码排序 Time limit 1000ms Memory 32768KB 题目讯息: 输入三个字符后,按各字符的ASCII码从小到大的顺序输出这三个字符。 Input 输入数据有多组,每组占一行,有三个字符组成,之间无空格。 Output 对于每组输入数据,输出一行,字符中间用一个空格分开。 Sample Input qwe asd zxc Sample Output e q w a d s c x z 问题简
分类: 其他 发布时间: 12-14 23:33 阅读次数: 0

ACM第一期练习题第七小题:计算球体积

click here to have a try 问题要求: Time limit 1000ms Memory 32768KB 问题资料: 根据输入的半径值,计算球的体积。 Input 输入数据有多组,每组占一行,每行包括一个实数,表示球的半径。 Output 输出对应的球的体积,对于每组输入数据,输出一行,计算结果保留三位小数。 Sample Input 1 1.5 Sample Output 4.189 14.137 问题简述: 第一行输入半径,第二行输出结果,要能够输入多组数据进行计算,
分类: 其他 发布时间: 12-14 23:33 阅读次数: 0

ACM第一期练习题第八小题:A + B Problem Too

click here to have a try first 题目要求: Time limit : 1000 ms Memory : 32768 KB 题目原题: This problem is also a A + B problem,but it has a little difference,you should determine does (a+b) could be divided with 86.For example ,if (A+B)=98,you should output
分类: 其他 发布时间: 12-14 23:33 阅读次数: 0

ACM第一期练习题第一小题:String Task

click here to have a try Time limit 2000ms Memory limit 262144KB 题目原题: Petya started to attend programming lessons. On the first lesson his task was to write a simple program. The program was supposed to do the following: in the given string, consis
分类: 其他 发布时间: 12-14 23:32 阅读次数: 0

Watermelon :分西瓜

点击这里先试一下手 Time limit : 1000ms Memory limit 65536 KB 原题: One hot summer day Pete and his friend Billy decided to buy a watermelon. They chose the biggest and the ripest one, in their opinion. After that the watermelon was weighed, and the scales show
分类: 其他 发布时间: 12-14 23:32 阅读次数: 0

统计每个元音字母在字符串中出现的次数。

CLICK HERE TO HAVE A TRY Time limit1000 ms Memory limit32768 KB 原题: 统计每个元音字母在字符串中出现的次数。 Input 输入数据首先包括一个整数n,表示测试实例的个数,然后是n行长度不超过100的字符串。 Output 对于每个测试实例输出5行,格式如下: a:num1 e:num2 i:num3 o:num4 u:num5 多个测试实例之间由一个空行隔开。 请特别注意:最后一块输出后面没有空行:) Sample Input
分类: 其他 发布时间: 12-14 23:31 阅读次数: 0

H - Problem H:Drazil and Date

Click here to have a try Time limit1000 ms Memory limit262144 kB 原题: Someday, Drazil wanted to go on date with Varda. Drazil and Varda live on Cartesian plane. Drazil’s home is located in point (0, 0) and Varda’s home is located in point (a, b). In
分类: 其他 发布时间: 12-14 23:31 阅读次数: 0

G - Problem G

CLICK HERE TO HAVE A SEE Time limit1000 ms Memory limit512000 kB 原题: 著名出题人小Q每次比赛后都会写一份《赛题分析》,包含比赛概况、每题的参考算法以及一些统计数值。 对于一道题来说,小Q会统计最短的验题人代码长度(Shortest judge solution)以及赛内参赛队伍最短的AC代码长度(Shortest team solution)。 统计验题人代码长度比较容易,因为验题人最多也不会超过2020个。但是统计选手代码长
分类: 其他 发布时间: 12-14 23:31 阅读次数: 0

Climbing Worm

点击试做! Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) 题目: Problem Description An inch worm is at the bottom of a well n inches deep. It has enough energy to climb u inches every minute, but then has to rest a minute
分类: 其他 发布时间: 12-14 23:30 阅读次数: 0

算法设计与分析基础 第六章谜题

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/qq_30432997/article/details/84613523 习题6.1 9.数字填空 给定n个不同的整数以及一个包含n个空格的序列,每个空格之间事先给定有不等(>或<)符号,请设计一个算法,将n个整数填入这n个空格中并满足不等式约束。例如,数4,6,3,1,8可以填在这样的5个空格中: 解答:将n个正整数从小到大排序,然后将数字填入空格之中:从左到右遍历每一个空格,若空格之后是小于号
分类: 其他 发布时间: 12-14 23:30 阅读次数: 0

Docker搭建ELK6.4.1以及Elasticsearch6.4.1集群(两个节点)

转载请表明出处 https://blog.csdn.net/Amor_Leo/article/details/83011372 谢谢 ELK6.4.1以及Elasticsearch6.4.1集群Docker搭建 搭建Elasticsearch集群(两个节点) docker pull elasticsearch:6.4.1 修改配置 修改配置 sysctl.conf vi /etc/sysctl.conf 添加下面配置: vm.max_map_count=655360 执行命令: sys
分类: 其他 发布时间: 12-14 23:29 阅读次数: 0