摘要: pptp 会频繁的掉线。。。 so, 更换为 L2TP/IPsec 的方式,注意要开放 UDP端口 500,4500,1701 1>. 更新系统 yum -y update 2>. 使用以下命令快速搭建 IPsec VPN 服务器 wget https://git.io/vpnsetup-cento 阅读全文
posted @ 2020-09-04 18:56 Binky.Lee 阅读(2752) 评论(1) 推荐(0)
摘要: 问题: 输入下面代码放在 // router>index.js中添加代码: ,路由文件里面即可解决问题 import Vue from "vue"; import Router from "vue-router"; Vue.use(Router); // 解决element-ui点击同一个路由报错: 阅读全文
posted @ 2020-04-10 14:19 Binky.Lee 阅读(459) 评论(0) 推荐(0)
摘要: 第一步: 新建模板并保存 文件 --> 首选项 --> 用户代码片段 --> 输入vue,选择创建模板 填写vue.json -->复制 第三步中的模板内容中内容保存 第二步: 添加配置,让vscode允许自定义的代码片段提示出来 文件 --> 首选项 --> 设置 > 添加这2项 // Speci 阅读全文
posted @ 2020-04-10 11:27 Binky.Lee 阅读(4553) 评论(0) 推荐(1)
摘要: vetur、Prettier - Code formatter、ESLint一起安装: 设置:在打开的窗口中的【文件】 【首选项】 【用户设置】中加入下面内容: { // prettier:每行在这个字符数内整合代码,如果你的屏幕较宽分辨率较高可以适当加大 "prettier.printWidth" 阅读全文
posted @ 2020-04-10 11:06 Binky.Lee 阅读(5133) 评论(0) 推荐(0)
摘要: main.js import axios from 'axios' //Vue.use(axios) // 创建axios实例 const ajax = axios.create({ baseURL: 'http://127.0.0.1:8888/api/private/v1/' }) // 拦截请 阅读全文
posted @ 2020-04-09 16:05 Binky.Lee 阅读(2041) 评论(0) 推荐(0)