摘要: 1.构建项目: vue ui 新建新项目(命令:vue create xxx): 填写文件夹名字直接下一步; 选择手动然后下一步; 选择bable、router、使用配置文件然后下一步; use history mode for router? (是否使用历史模式路由,默认不使用,所以直接下一步); 阅读全文
posted @ 2021-05-26 17:50 封兴旺 阅读(167) 评论(0) 推荐(0)
摘要: 前言介绍:刚开始装虚拟机的时候,由于当时什么也不懂,就跟着教程装的,当时磁盘空间配置的只有20G,最近由于用ubuntu比较多,磁盘空间逐渐力不从心,所以从网上学了点经验,记录下来与大家共享。注意:以下图片有中英混杂的地方(图片来自两个客户机,一台汉化了另一台没有),如果出现不同于自己的客户机的文字 阅读全文
posted @ 2021-05-20 09:15 封兴旺 阅读(2643) 评论(0) 推荐(0)
摘要: 使用 parentNode、nextSibling、previousSibling、firstChild 和 lastChild 属性可以遍历文档树中任意类型节点,包括空字符(文本节点)。HTML 5 新添加 5 个属性专门访问元素节点。 childElementCount:返回子元素的个数,不包括 阅读全文
posted @ 2021-05-19 12:06 封兴旺 阅读(82) 评论(0) 推荐(0)
摘要: 字符串函数 字符串转数组: split() // 注:将字符串转换为数组,括号里面是要删除并以 ,代替的内容。 计算字符串(eval()): eval("x=10;y=20;document.write(x*y)") document.write(eval("2+2")) var x=10; doc 阅读全文
posted @ 2021-05-19 11:28 封兴旺 阅读(81) 评论(0) 推荐(0)
摘要: iostat 查看是什么发行版本:cat /etc/os-release 开机启动的应用:systemctl list-unit-files --type=service --state=enable systemctl status <service-name> systemctl disable 阅读全文
posted @ 2021-05-17 09:39 封兴旺 阅读(245) 评论(0) 推荐(0)
摘要: promise封装ajax实现按顺序发送请求 & 链式操作 async function ts_public_promise_req(){ // get let res = await public_promise_req('/loadOk', 'get', ''); console.log(res 阅读全文
posted @ 2021-05-15 15:33 封兴旺 阅读(116) 评论(0) 推荐(0)
摘要: <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <meta name="" content=""> <script src="../资源/jquery.min.js"></script> <title></title> <style> </s 阅读全文
posted @ 2021-04-22 13:57 封兴旺 阅读(1432) 评论(0) 推荐(0)
摘要: <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title></title> <style type="text/css"> .div { display: none; position: absolute; width: 30px; he 阅读全文
posted @ 2021-04-22 13:55 封兴旺 阅读(174) 评论(0) 推荐(0)
摘要: 第一种情况(监听鼠标滚轮的停止):<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <meta name="" content=""> <title></title> <style> </style> </head> <body> <p>ok< 阅读全文
posted @ 2021-04-22 13:52 封兴旺 阅读(2812) 评论(0) 推荐(0)
摘要: <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <meta name="" content=""> <title></title> <style> </style> </head> <body> <p>ok</p> <script> wind 阅读全文
posted @ 2021-04-22 10:52 封兴旺 阅读(642) 评论(0) 推荐(0)

联系方式: 18274305123(微信同号)