路由导航守卫-beforeEach 如果用户没有登陆,直接通过URL访问特定的页面,这样的话我们需要重新将其导航到登陆页面。 login(){ this.$refs.loginFormRef.validate( async valid =>{ console.log(valid); if (!val... ...
分类:
其他好文 时间:
2020-02-07 01:21:22
阅读次数:
67
Given a string s of '(' , ')' and lowercase English characters. Your task is to remove the minimum number of parentheses ( '(' or ')', in any position ...
分类:
其他好文 时间:
2020-02-06 14:49:15
阅读次数:
69
一、题目说明 题目是32. Longest Valid Parentheses,求最大匹配的括号长度。题目的难度是Hard 二、我的做题方法 简单理解了一下,用栈就可以实现。实际上是我考虑简单了,经过5次提交终于正确了。 性能如下: 代码如下: 三、优化措施 题解给了4种方法,这4种方法都比较好理解 ...
分类:
其他好文 时间:
2020-02-06 10:20:13
阅读次数:
50
125. Valid Palindrome Given a string, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases. Note : For the pur ...
分类:
其他好文 时间:
2020-02-05 23:49:36
阅读次数:
129
Given a string, find the length of the longest substring without repeating characters. Example 1: Input: "abcabcbb" Output: 3 Explanation: The answer ...
分类:
其他好文 时间:
2020-02-05 13:42:39
阅读次数:
59
有些好笑,我安装了android studio3.5版本的软件安装了四天,在刚开始的时候,同学们安装软件应该是一趟就下来了,但是我的软件一直卡在了 ERROR: Unable to find valid certification path to requested target 这句话真的烦死我了 ...
分类:
移动开发 时间:
2020-02-05 11:53:03
阅读次数:
141
You are given a string representing an attendance record for a student. The record only contains the following three characters: 'A' : Absent. 'L' : L ...
分类:
其他好文 时间:
2020-02-05 09:48:50
阅读次数:
45
Given a non-empty string s, you may delete at most one character. Judge whether you can make it a palindrome. Example 1: Input: "aba" Output: True Exa ...
分类:
其他好文 时间:
2020-02-04 11:04:16
阅读次数:
77
1.今天学习了solr的后台管理界面,本应该学完solr但是由于自己在安装android studio的时候出了问题,问题是unable to find valid certification path to requested target,不管是上网搜还是怎么样,最后都没有解决,大概花了五个小时 ...
分类:
其他好文 时间:
2020-02-04 00:10:14
阅读次数:
72
1,背诵单词:substitute:替代者,替代物 valid:有效的 wax:蜡,蜡状物 stubborn:顽固的,固执的 abstract:抽象的 ankle:踝关节,踝 occasionally:偶尔 trace:踪迹 export:出口,输出 scan:扫描,细看 stale:陈腐的,不新鲜 ...
分类:
其他好文 时间:
2020-02-02 23:20:45
阅读次数:
90