1、标签实现新窗口打开 <router-link target="_blank" :to="{path:'/home',query:{id:'1'}}">新页面打开home页</router-link> 2、编程式导航: const {href} = this.$router.resolve({ n ...
分类:
其他好文 时间:
2020-06-24 12:28:26
阅读次数:
89
记录下来,以后用到了直接照抄。 代码 #include <stdio.h> #include <stdlib.h> typedef struct node { struct node *next; int value; } *SingleList; int value_compare(struct ...
分类:
编程语言 时间:
2020-06-24 12:03:09
阅读次数:
40
链表介绍: 链表是以节点的方式来储存,是链式存储; 每个节点包含 data 域,next 域:指向下一个结点; 链表的各个节点不一定是连续存储的; 链表分为带头结点链表 和 没有头结点的链表,根据实际需求来确定; 单链表的应用实例: 使用带 head 头的单向链表实现 水浒英雄排行榜管理完成对英雄人 ...
分类:
其他好文 时间:
2020-06-24 10:33:18
阅读次数:
43
#include<iostream> #include<cstdio> #include<queue> using namespace std; int dis[200001],head[200001]; int n,m,a,b,c,s,cnt; bool vis[200001]; struct e ...
分类:
其他好文 时间:
2020-06-23 21:35:40
阅读次数:
59
参考书籍《Illustrated C#7, 5th Edition》 什么是LINQ? LINQ = Language Integrated Query 发音"link" LINQ是.NET框架的扩展。用类似SQL语法查询数据库一样,来查询数据集。SQL查询数据库,database。LINQ查询数据... ...
分类:
其他好文 时间:
2020-06-23 21:31:12
阅读次数:
87
题目来源于力扣(LeetCode) 一、题目 976. 三角形的最大周长 题目相关标签:排序、数学 提示: 3 <= A.length <= 10000 1 <= A[i] <= 10^6 二、解题思路 首先对数组进行排序 倒序遍历数组,对范围内的数组元素进行比较 判断当前遍历的元素是否小于前两位元 ...
分类:
其他好文 时间:
2020-06-23 21:20:33
阅读次数:
65
1.数据结构概述数据结构(Data Structure是一门和计算机硬件与软件都密切相关的学科,它的研究重点是在计算机的程序设计领域中探讨如何在计算机中组织和存储数据并进行高效率的运用,涉及的内容包含:数据的逻辑关系、数据的存储结构、排序算法(Algorithm)、查找(或搜索)等。 2.数据结构与 ...
分类:
编程语言 时间:
2020-06-23 20:58:33
阅读次数:
59
public static void partitionPdfFile(String pdfFile, String newFile, int from, int end) { Document document = null; PdfCopy copy = null; try { PdfReade ...
分类:
编程语言 时间:
2020-06-23 19:12:22
阅读次数:
94
1.redux简介 redux是react全家桶的一员,它试图为 React 应用提供「可预测化的状态管理」机制。 Redux是将整个应用状态存储到到一个地方,称为store 里面保存一棵状态树(state tree) 组件可以派发(dispatch)行为(action)给store,而不是直接通知 ...
分类:
其他好文 时间:
2020-06-23 17:21:10
阅读次数:
291