路由传参 用于组件与组件之间通过路由传递数据 通过url正则传递数据 i)设置 ii)如何传 vue this.$router.push( ) vue this.$route对象是管理路由参数的,传递的参数会在this.$route.params字典中 this.$route.params.pk 示 ...
分类:
其他好文 时间:
2020-02-18 09:20:29
阅读次数:
57
A robot is located at the top-left corner of a m x n grid (marked 'Start' in the diagram below). The robot can only move either down or right at any p ...
分类:
其他好文 时间:
2020-02-17 22:33:36
阅读次数:
99
本文基于 Altera 官方原版文档《SignalTap II with Verilog Designs》改编而成,原文可在百度文库中下载:https://wenku.baidu.com/view/3931a1edaeaad1f346933fe3.html?from=search 一、Verilog ...
分类:
其他好文 时间:
2020-02-17 19:52:23
阅读次数:
110
题目 一只青蛙一次可以跳上1级台阶,也可以跳上2级台阶。求该青蛙跳上一个 n?级的台阶总共有多少种跳法。 答案需要取模 1e9+7(1000000007),如计算初始结果为:1000000008,请返回 1。 示例 1: 示例 2: 提示: 思路 同 "【剑指Offer】面试题10 I. 斐波那契数 ...
分类:
其他好文 时间:
2020-02-17 19:45:07
阅读次数:
66
链接:https://leetcode-cn.com/problems/qing-wa-tiao-tai-jie-wen-ti-lcof/ 代码: class Solution { public: int numWays(int n) { std::vector<int> vec = {1, 1}; ...
分类:
其他好文 时间:
2020-02-17 17:52:45
阅读次数:
49
manjaro linux 安装 Apache,MariaDB,PHP(LAMP) root 身份执行下面的命令 1. 升级系统 2. 安装 Apache 升级完后,安装Apache 编辑 /etc/httpd/conf/httpd.conf file 找到LoadModule unique_id_ ...
分类:
数据库 时间:
2020-02-17 14:12:35
阅读次数:
75
1.题目描述 英文版: Given an array nums of n integers, are there elements a, b, c in nums such that a + b + c = 0? Find all unique triplets in the array which ...
分类:
其他好文 时间:
2020-02-17 00:47:28
阅读次数:
51
前后台交互方式(重点) """ 1)form表单方式 i)get | post 两种请求方式,get请求包含直接在浏览器中输入url回车后发送的请求 ii)该方式的特点是一定会发生页面的跳转(刷新页面叫本页跳转) - 后台决定页面路由 2)ajax异步方式 i)get | post | patch ...
分类:
移动开发 时间:
2020-02-17 00:37:17
阅读次数:
137
group = sample(seq(1,10),size = 20,replace = T) #这20个组分别属于1,...,10 v = rnorm(length(unique(group)),0,1) 对组1,...,10分别分别赋值 vj = v[group] 把值分配到每个组 ...
分类:
编程语言 时间:
2020-02-16 14:59:12
阅读次数:
131
Given a set of candidate numbers (candidates) (without duplicates) and a target number (target), find all unique combinations in candidates where the ...
分类:
其他好文 时间:
2020-02-16 01:35:33
阅读次数:
58