Skip to content

翻了车的老司机

其实我一直在你身边

Search for:

vue 父组件传值到子组件


props:{
users:{
‘type’:Array,
required:true
}

  • Posted on: 2019年3月14日 2019年3月14日
  • Author: zzs10086
  • Categories: vue

vue 全局注册组件

import Users from ‘./components/Users’
Vue.component(“users”,”Users”)

  • Posted on: 2019年3月14日 2019年3月14日
  • Author: zzs10086
  • Categories: vue

vue webpack 脚手架 创建项目

vue init webpack my-project
npm install
npm run dev

  • Posted on: 2019年3月14日 2019年3月14日
  • Author: zzs10086
  • Categories: webpack

Nginx配置陷阱之万恶的if指令

当在location区块中使用 if 指令的时候会有一些问题, 在某些情况下它并不按照你的预期运行而是做一些完全不同的事情. 而在另一些情况下他甚至会出现段错误. 一般来说避免使用 if 指令是个好主意.

  • Posted on: 2018年10月11日 2018年10月11日
  • Author: zzs10086
  • Categories: nginx

axios 解决跨域问题 nginx 配置

​如果报错No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘http://xxx.com’ is therefore not allowed access. 说明服务器端不支持跨域

  • Posted on: 2018年9月13日 2020年8月28日
  • Author: zzs10086
  • Categories: nginx

解决:Uncaught ReferenceError: regeneratorRuntime is not defined

解决:Uncaught ReferenceError: regeneratorRuntime is not defined
$ npm i –save-dev babel-plugin-transform-runtime

  • Posted on: 2018年9月12日 2020年9月2日
  • Author: zzs10086
  • Categories: vue

df 查看硬盘空间 du 查看文件夹大小

df -h 查看硬盘空间
du -sh 查看文件夹大小
du -h 查看文件夹下所有文件大小

  • Posted on: 2018年9月7日 2018年9月7日
  • Author: zzs10086
  • Categories: Linux

composer install 报错原因 PHP 7版本太高,不符合composer.json需要的版本

php版本过高 导致composer install报错
composer install –ignore-platform-reqs
composer update –ignore-platform-reqs

  • Posted on: 2018年9月6日 2018年9月6日
  • Author: zzs10086
  • Categories: laravel

composer install 和composer update的用法区别

composer update 会读取 composer.json中指定的依赖
composer install 会优先读取composer.lock,如果没有composer.lock 用法跟composer update一样

  • Posted on: 2018年9月6日 2018年9月6日
  • Author: zzs10086
  • Categories: laravel

vue element 时间选择 rule验证 坑

vue element 时间选择 rule验证 坑
getTime() is not a function
修改rule ,把 type: ‘date’ 去掉

  • Posted on: 2018年9月4日 2018年9月4日
  • Author: zzs10086
  • Categories: vue

Pagination

Previous page Page: 1 … Page: 18 Page: 19 Page: 20 Page: 21 Page: 22 Page: 23 Page: 24 Page: 25 Page: 26 Page: 27 Page: 28 … Page: 35 Next page

分类目录

  • docker
  • elasticsearch
  • git
  • go
  • java
  • javascript
  • laravel
  • Linux
  • mysql
  • nginx
  • node.js
  • php
  • redis
  • shell
  • vue
  • webpack
  • 小程序
Search for:
2025年七月
一 二 三 四 五 六 日
« 6月    
 123456
78910111213
14151617181920
21222324252627
28293031  

近期文章

  • Mysql创建触发器
  • 创建docker 容器关联
  • composer laravel 安装时遇到 github 报错
  • wordpress如何开启全站https
  • CentOS上安装Redis

近期评论

    © 2025 翻了车的老司机. 我在你身边绕了一个圈,回到原点你却已在远方。

    苏ICP备16035736号-3

    友情链接:一览网  江苏景威控股集团有限公司