07 2021 档案

摘要:安装node.js 安装lessnpm install less -g 安装css压缩插件less-plugin-clean-css(此步骤非必选)npm install less-plugin-clean-css -g wind10需注意:安装过程如出现errno:-4048错误,以管理员身份打开 阅读全文
posted @ 2021-07-29 10:33 白開水 阅读(397) 评论(0) 推荐(0) 编辑
摘要:InputTag 组件 简介 InputTag 组件。按回车键(Enter)生成标签!按回退键(Backspace)删除标签! 下载地址 GitHub Gitee 效果 示例 JQuery 方式引入 <!doctype html> <html lang="en"> <head> <meta char 阅读全文
posted @ 2021-07-27 14:10 白開水 阅读(1685) 评论(0) 推荐(0) 编辑
摘要:函数 函数申明的方式 #1 构造函数 let func = new Function('title', 'console.log(title)'); func('后盾人'); #2 具名函数 function hd(title) { console.log(title); } hd('后盾人'); 阅读全文
posted @ 2021-07-25 22:22 白開水 阅读(42) 评论(0) 推荐(0) 编辑
摘要:获取对象的原型 Object.getPrototypeOf() let hd = {}; let xj = {}; console.log(Object.getPrototypeOf(hd) == Object.getPrototypeOf(xj));//true console.log(Objec 阅读全文
posted @ 2021-07-21 11:15 白開水 阅读(40) 评论(0) 推荐(0) 编辑