摘要: 为管理博客便捷,现将本人在博客园经营了多年的博客搬家到CSDN,希望能不忘初心,继续坚持下去。 阅读全文
posted @ 2023-08-03 17:22 lezuw 阅读(4) 评论(0) 推荐(0) 编辑
摘要: npm更新指定的组件 1、例如:react-router已经更新到4.x版本,想要下载2.x版本,可以通过下面命令 npm install --save-dev react-router@2.8.1 或 npm install --save react-router@2.8.1 2、–save -d 阅读全文
posted @ 2023-08-03 17:17 lezuw 阅读(75) 评论(0) 推荐(0) 编辑
摘要: wx.switchTab({ url: ‘../index/index’, success: function (e) { var page = getCurrentPages().pop(); if (page == undefined || page == null) return; page. 阅读全文
posted @ 2023-07-29 17:18 lezuw 阅读(337) 评论(0) 推荐(0) 编辑
摘要: { "php.validate.executablePath": "D:/phpstudy_pro/Extensions/php/php7.3.4nts/php.exe", "files.autoSave": "afterDelay", "git.ignoreMissingGitWarning":  阅读全文
posted @ 2020-07-18 10:16 lezuw 阅读(151) 评论(0) 推荐(0) 编辑
摘要: 1、table需要绑定两个属性expand-row-key和row-key <el-table :data="tableData" :expand-row-keys="expends" //expends是数组,设置你要展开行的id :row-key="getRowKeys" //通过getRowK 阅读全文
posted @ 2020-06-08 17:33 lezuw 阅读(4528) 评论(0) 推荐(0) 编辑
摘要: /* 显示一行,省略号 */ white-space: nowrap; text-overflow: ellipsis; overflow: hidden; word-break: break-all; /* 显示两行,省略号 */ text-overflow: -o-ellipsis-lastli 阅读全文
posted @ 2020-05-31 23:17 lezuw 阅读(8864) 评论(0) 推荐(0) 编辑
摘要: 触发change事件时可能不只需要传递被选中项的值,还要传递index过去,来改变同一循环中的其他标签的状态。那你就需要这样像以下这样写: <div v-for="(item,index) in itemList"> <el-select v-model="item.value" @change=" 阅读全文
posted @ 2020-04-28 17:18 lezuw 阅读(1806) 评论(0) 推荐(0) 编辑
摘要: vue通过配置不同命令自动发布到测试环境或者成产环境 cnpm run build 配置开发环境 cnpm run build:test 打包到测试环境 cnpm run build:prod 打包到成产环境 vue 在vue-cli脚手架会生成build config两个文件夹 在build文件夹 阅读全文
posted @ 2020-04-21 17:34 lezuw 阅读(376) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <!-- import CSS --> <link rel="stylesheet" href="https://unpkg.com/element-ui/lib/theme-chalk/ind 阅读全文
posted @ 2020-04-21 17:30 lezuw 阅读(2982) 评论(2) 推荐(0) 编辑
摘要: 升级了webstorm,发现中文显示不正常,缺字啥的;搜索了一下解决方案: File | Settings | Appearance & Behavior | Appearance,Theme 选择Darcula File | Settings | Editor | Font, Font 选择Con 阅读全文
posted @ 2020-03-27 14:27 lezuw 阅读(574) 评论(0) 推荐(1) 编辑