文章分类 -  前端

摘要:` 是ES6中的新特性,拼接字符串的时候可以直接使用变量。 如: var str = "2020" ; `hello ${str} world !` 阅读全文
posted @ 2021-07-13 17:48 xie风细雨 阅读(1761) 评论(0) 推荐(0)
摘要:element的 underline 属性 需要 传入boolean 类型的值。 如果向上图这样:underline = “false” 会报错的。因为JavaScript 会解析成字符串。 所以可以要使用vue的属性绑定 :underline = 'aa' 然后在组件中定义变量aa的值为Boole 阅读全文
posted @ 2021-07-04 23:34 xie风细雨 阅读(454) 评论(0) 推荐(0)
摘要:https://www.w3cplus.com/vue/v-bind.html 写的很好 https://www.cnblogs.com/lhl66/p/8021730.html 阅读全文
posted @ 2021-07-01 09:17 xie风细雨 阅读(28) 评论(0) 推荐(0)
摘要:https://blog.csdn.net/qq_38586496/article/details/109382560?utm_medium=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromMachineLearn 阅读全文
posted @ 2021-06-29 09:50 xie风细雨 阅读(360) 评论(0) 推荐(0)
摘要:cd ui 安装 nrm npm install -g nrm nrm ls 报错 需要修改cli.js 文件 找到cli.js17行,改成 //const NRMRC = path.join(process.env.HOME, '.nrmrc'); (删除) const NRMRC = path. 阅读全文
posted @ 2021-06-29 09:48 xie风细雨 阅读(30) 评论(0) 推荐(0)