- 博客(6)
- 收藏
- 关注
原创 <template slot-scope=“scope“ > 报错怎么解决
<template slot-scope="scope" > 报错怎么解决
2022-02-28 23:25:16
1716
3
原创 管理员身份运行PowerShell
1. 使用运行窗口以管理员身份运行PowerShell第1步: 同时按下Windows + R键以弹出“运行”对话框。第2步: 在框中键入PowerShell,然后单击OK(确定)按钮。 普通的Windows PowerShell将以当前用户身份启动。第3步: 键入命令start-process PowerShell -verb runas,然后按“enter”键。第4步: 以上命令将以管理员身份提升Windows PowerShell的权限。方法2. 使用Cortana搜索栏以管理员身份运行P
2021-12-30 10:53:50
7452
原创 与其他数据结构的互相转换
1)Map 转为数组前面已经提过,Map 转为数组最方便的方法,就是使用扩展运算符(...)。const map = new Map([ [1, 'one'], [2, 'two'], [3, 'three'], ]); console.log([...map.keys()]); //[1, 2, 3] console.log([...map.values()]); //["one", "two", "three"].
2021-12-17 18:14:14
822
原创 移动端事件
移动端事件库 (部分)Touch.js下载js网站:GitHub - Clouda-team/touchjs: Touchjs getsture library 属性 设备类型tap 单击屏幕 doubletap 双击屏幕 swipe 滑动 swipeleft 向左滑动 ...
2021-12-03 22:45:37
321
原创 判断是pc还是移动浏览器
//把请求头信息转为小写 //user agent是指用户代理,使服务器能够识别客户使用的操作系统及版本、CPU 类型、浏览器及版本、浏览器渲染引擎、浏览器语言、浏览器插件等。sUserAgent = navigator.userAgent.toLowerCase();sUserAgent.match('ipad') == "ipad";sUserAgent.match('ucweb') == "ucweb";...<!DOCTYPE html><html lang.
2021-11-30 11:20:21
1204
原创 移动端 通过js动态设置字体大小
<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>r.
2021-11-29 21:17:33
429
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人