上一页 1 ··· 4 5 6 7 8 9 10 11 12 13 下一页
摘要: 1.项目中使用eslint 或者全局安装eslint 打开终端,运行npm install eslint -g全局安装ESLint。 2.vscode安装eslint 插件 3.vscode 扩展设置 点击 文件 > 首选项 > 设置 setting.json vscode 自带保存格式化 "edi 阅读全文
posted @ 2022-03-12 14:02 7c89 阅读(4202) 评论(0) 推荐(1)
摘要: 1.CSS媒体查询,根据系统自动切换不同样式 //还可以配合css变量 <style> @media (prefers-color-scheme: dark) { body { color: #eee; background: #121212; } body a { color: #809fff; 阅读全文
posted @ 2022-03-09 17:26 7c89 阅读(132) 评论(0) 推荐(0)
摘要: https://www.dowebok.com/134.html https://www.dowebok.com/131.html 阅读全文
posted @ 2022-03-09 15:10 7c89 阅读(37) 评论(0) 推荐(0)
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="wi 阅读全文
posted @ 2022-03-06 15:42 7c89 阅读(79) 评论(0) 推荐(0)
摘要: 浏览器监听当前页 (是否切屏) 一、监听的api 浏览器自带了相关的API了,那就是利用visibilitychange属性,MDN的介绍: 当其选项卡的内容变得可见或被隐藏时,会在文档上触发 visibilitychange (能见度更改)事件。 所以我只需要注册监听对visibilitychan 阅读全文
posted @ 2022-03-02 11:15 7c89 阅读(1502) 评论(0) 推荐(0)
摘要: var fs=require('fs') let appName=process.argv[2] let appPath=__dirname+'/'+appName if(fs.existsSync(appPath)){ console.log('目录已存在'); process.exit() } 阅读全文
posted @ 2022-02-27 12:33 7c89 阅读(105) 评论(0) 推荐(0)
摘要: home.vue <template> <div> <el-button @click="toToast"> 显示 </el-button> </div> </template> <script> import { showToast } from "./toast.js"; export defa 阅读全文
posted @ 2022-02-09 22:23 7c89 阅读(83) 评论(0) 推荐(0)
摘要: <template> <div class="lick-container" @keyup.enter="sendMessage"> <div class="chat-content-container"> <div class="header">联通</div> <div class="body" 阅读全文
posted @ 2022-02-09 21:36 7c89 阅读(79) 评论(0) 推荐(0)
摘要: ="res.add(new Order("""&A1&""","""&B1&""","""&C1&""",new Date(),new Date(),"&D1&"L,"&E1&"L));" 阅读全文
posted @ 2022-01-29 16:08 7c89 阅读(88) 评论(0) 推荐(0)
摘要: 方案一 第一步: 按win+r快捷键,输入services.msc,点击确定 服务列表找到 VMware Authorization Service 并双击 修改启动类型为自动或手动,点击应用 然后点击启动,等待启动完成后,点击确定即可 方案二 右键VMware以管理员权限打开 阅读全文
posted @ 2022-01-29 14:57 7c89 阅读(4896) 评论(0) 推荐(0)
上一页 1 ··· 4 5 6 7 8 9 10 11 12 13 下一页