难受就摸头盖骨
摘要: 需求: 根据不同角色的登录人,展示不同的功能模块. 前端路由在后台维护,动态注册路由. 阅读全文
posted @ 2019-10-23 22:43 longpanda_怪怪哉 阅读(6693) 评论(0) 推荐(0) 编辑
摘要: 1.使用root 登录 su 2.没有目录就自己创建一个 cd /usr/local/node/ 3.下载安装包 wget https://npm.taobao.org/mirrors/node/v4.4.7/node-v4.4.7-linux-x64.tar.gz 4.解压安装包 tar -zxv 阅读全文
posted @ 2019-10-19 10:59 longpanda_怪怪哉 阅读(1312) 评论(0) 推荐(0) 编辑
摘要: github地址: https://github.com/longPanda/customModal {{shModalTitle}} ... 阅读全文
posted @ 2019-09-19 10:25 longpanda_怪怪哉 阅读(553) 评论(0) 推荐(0) 编辑
摘要: github地址: https://github.com/longPanda/custom-date-picker/blob/master/index.vue <template> <div> <Row type="flex" justify="space-between" class="operation-bar"> <Col><p @click="previousEvent">上一月</p>< 阅读全文
posted @ 2019-09-18 17:42 longpanda_怪怪哉 阅读(301) 评论(0) 推荐(0) 编辑
摘要: 对象的计算属性名 以前对象的属性是不允许动态修改的,es6支持属性赋值,如: 以前: let obj1= { name: '熊二', age: 18, sec: '女' }; 现在可以: let nameStr = 'name'; let ageStr = 'age'; let obj1 = { [nameStr]: '熊二', [`${ageStr}`]: 18, ['sec']: '女' } 阅读全文
posted @ 2019-08-20 13:34 longpanda_怪怪哉 阅读(227) 评论(0) 推荐(0) 编辑
摘要: 规范 1、定义变量时冒号(:)与变量值之间必须(MUST)保留一个空格,冒号前不得(MUST NOT)保留空格。如:错误color:@box_width; 正确color: @box_width; 2、变量命名必须采用 @foo-bar 形式,不得使用 @fooBar 形式。 定义变量 @box_width:100px; 注:100px不用双引号括起来 .box{ ... 阅读全文
posted @ 2019-08-20 13:28 longpanda_怪怪哉 阅读(156) 评论(0) 推荐(0) 编辑
摘要: git pull 时每次都要输入用户名和密码的解决办法 git bash进入你的项目目录,输入: git config --global credential.helper store 用远程的强制覆盖本地 使用场景,本地代码修改错误需要强制远程服务器最新版本覆盖本地版本 git fetch --all git reset --hard origin/master git pull 强制覆盖本地命 阅读全文
posted @ 2019-08-20 13:26 longpanda_怪怪哉 阅读(233) 评论(0) 推荐(0) 编辑
摘要: 回退/撤销 ctr+alt+Z 创建同等大小的画布 ctr+C ctr+V ctr+N 保存 ctr+shift+alt+S 取消选区 ctl + D 将钢笔工具设置的路径转为选区 trl + enter 填充颜色 alt + delete 场景案例:画圆环 首先,画一个圆 //选择"椭圆选区工具" + shift 其次,菜单栏"选择" > "变换选区" 最后,shift + alt + 鼠标拖动 阅读全文
posted @ 2019-08-20 13:23 longpanda_怪怪哉 阅读(118) 评论(0) 推荐(0) 编辑
摘要: vue使用实例 <template> <div style="width:100%;height:100%;" id="productStructureChart"></div></template><script> import echarts from 'echarts'; export def 阅读全文
posted @ 2019-06-26 17:18 longpanda_怪怪哉 阅读(876) 评论(0) 推荐(0) 编辑
摘要: <p :style="{width:'4px',height: '24px',background: '#f7ce51'}"></p> <p:style="{height: '400px','overflow-y': 'auto','background-color': '#f3f3f3',padd 阅读全文
posted @ 2019-04-26 21:45 longpanda_怪怪哉 阅读(1351) 评论(2) 推荐(0) 编辑
下定决心了,要把写不出代码就摸后脑勺的习惯给改了! 如果可以~单身待解救~~