### 新建vue项目 npm install @vue/cli -g // 如果安装过脚手架,不必再次安装 vue create vision 手动选择一些特性 > Manually select features 空格选择一些插件 Check the features needed for yo ...
分类:
其他好文 时间:
2021-02-09 11:46:36
阅读次数:
0
1 底层原理不一样: 1 browserRouter使用的是H5的history API,不兼容IE9以下的版本。(H5新增的) 2 HashRouter使用的是URL的哈希值。(锚点,会发送历史记录) 2 url表现形式不宜用: 1 BrowserRouter 的路径中没有#,localhost: ...
分类:
其他好文 时间:
2021-02-04 12:13:30
阅读次数:
0
Python Selenium库 https://blog.csdn.net/weixin_36279318/article/details/79475388 Python playwright库 https://github.com/microsoft/playwright-python http ...
分类:
其他好文 时间:
2021-02-04 12:05:35
阅读次数:
0
Why personal data matters? Why protect personal data? What is GPDR? What do companies rish when they don't play by the rules? What is personal data? T ...
分类:
其他好文 时间:
2021-02-03 10:36:39
阅读次数:
0
Link Solution 如果令 \(G(i)\) 表示恰好有 \(i\) 种颜色出现了 \(S\) 次,答案就是 \(\sum_{i=0}^{\min(n/s,m)} w_i\times G(i)\) 令 \(lim=min(n/s,m)\),我们只需要求出 \(0\) ~ \(lim\) 的 ...
分类:
其他好文 时间:
2021-02-03 10:30:13
阅读次数:
0
createWebHistory路由模式路径不带#号(生产环境下不能直接访问项目,需要nginx转发) http://localhost:8080/#/ const router = createRouter({ history: createWebHistory(), routes }); cre ...
分类:
其他好文 时间:
2021-02-02 11:14:24
阅读次数:
0
当切换到新路由时,若希望页面滚动到顶部,或者是保持原先的滚动位置,就像重新加载页面一样,vue-router 可以自定义路由切换时页面如何滚动 这个功能只在支持 history.pushState 的浏览器中可用 当创建一个Router实例,可以提供一个 scrollBehavior 方法: scr ...
分类:
其他好文 时间:
2021-02-01 11:58:53
阅读次数:
0
java中如何使用接口继承(Extending Interfaces) ...
分类:
编程语言 时间:
2021-01-30 12:08:31
阅读次数:
0
一般情况下,我们使用JSON.stringify() 是为了将一个对象转为字符串输出。 (1)第一个参数是我们要字符串化的对象或者数组,但是其实它还有第二个/第三个参数哦 let obj = { name: '良人', age: 18, hobby: 'play' } console.log(JSO ...
分类:
Web程序 时间:
2021-01-29 11:41:00
阅读次数:
0
1、需要的工具软件:Virtual Audio Cable 4.64 Retail.rar,afsk1200dec.exe 2、安装Virtual Audio Cable 3、设置Virtual Audio Cable,使播放和录制默认通道都为 LINE1 4、打开 afsk1200decoer软件 ...
分类:
其他好文 时间:
2021-01-28 12:23:19
阅读次数:
0