然后通过alfred修改默认搜索引擎实现以下效果
...
4年前 (2021-04-06)
喜欢
修改前
修改后
打开alfred设置
点击添加后进行选择
可以事先手动设置搜索地址,然后重新选择
...
4年前 (2021-04-06)
喜欢
getdate() {
this.datelist = [];
for (var i = 0; i < 5; i++) {
let data = {
...
4年前 (2021-04-06)
喜欢
在路由中的meta.requiresAuth添加参数来判断是否需要登录才可以访问
const routes = [
{
path: '/Login',
name: 'Login',
component: () =>...
4年前 (2021-04-05)
喜欢
wps微信小程序 WPS会员 签到领会员
每天打卡可以最低领取一天会员,wps搭配腾讯云函数签到领会员每天额外增加10天会员。
...
4年前 (2021-04-05)
喜欢
下载并安装Quicker
Quicker下载地址:
https://getquicker.net/Help/Versions
安装动作
动作地址
https://getquicker.net/Sharedaction?code=c255fb06-3be4-42a7-8258-0...
4年前 (2021-04-05)
喜欢
在axios拦截器里进行配置
if (router.history.current.fullPath) {
router.push({path: '/reg/login', query: {url:router.history.cu...
4年前 (2021-04-02)
喜欢
作为前端很多功能或者效果会在github上查询,但是github的加载速度太慢了,让人无法忍受,想到github上应该有大神会解决这种问题,在github上搜索试了一下效果很给力,推荐大家也试试。
https://github.com/docmirror/dev-sidecar
...
4年前 (2021-04-02)
喜欢
获取地址信息
window.location
获取地址
window.location.href
获取端口
window.location.port
获取地址协议
window.location.protocol
获取地址
window.location.origin
...
4年前 (2021-04-01)
喜欢
向上取整(有小数,整数部分就+1)
Math.ceil(5.1234); // 6
向下取整(<= 该数值的最大整数,和parseInt()一样)
Math.floor(5.1234);
只保留整数部分(丢弃小数部分)
parseInt(5.1234);...
4年前 (2021-04-01)
喜欢