摘要:
因为nodejs官网直接展示的是最新的版本,win7系统他们已经不适配了,需要找低版本的nodejs来安装 https://nodejs.org/dist/ 下载msi文件,可以点击直接安装 不要从官网下载最新的哦,各种问题层出不穷 阅读全文
摘要:
为了使用稳定和快捷,先设置淘宝镜像源。执行下面的命令行 npm config set registry https://registry.npm.taobao.org/ 切换回去 npm config set registry http://registry.npmjs.org 设置变量 sass_ 阅读全文
摘要:
更改ubuntu的镜像拉地址 参考:https://www.freesion.com/article/1666637917/ 阅读全文
摘要:
cm@cm:/usr/local/redis/etc$ vim redis.conf cm@cm:/usr/local/redis/etc$ sudo vim redis.conf cm@cm:/usr/local/redis/etc$ /etc/init.d/redis status Redis 阅读全文
摘要:
因为自己搭建的gitlab 在自己的服务器,项目太大了,怎么拉取都拉取不下来 如下方法绕过拉取代码失败的问题 1505 mkdir tortoise 1506 cd tortoise 1507 ls 1508 git remote -v 1509 git init 1510 git checkout 阅读全文
摘要:
<view class="container" :style="{'height':`${pyq_lists.length * 300}` + 'px'}"> <pyqList v-for="(item,index) in pyq_lists" :key='item+index' :itemData 阅读全文
摘要:
方法一: pages/pre/pre.vue <template> <view> <view>返回的数据为:</view> <view>id: {{testdata.id}}</view> <view>name: {{testdata.name}}</view> <button type="prim 阅读全文
摘要:
这是es6中新增的字符串方法 可以配合反单引号完成拼接字符串的功能 1、反单引号怎么打出来? 将输入法调整为英文输入法,单击键盘上数字键1左边的按键。 2、用法 step1: 定义需要拼接进去的字符串变量 step2: 将字符串变量用${}包起来,再写到需要拼接的地方 3、示例代码: let a=' 阅读全文