Do not use built-in or reserved HTML elements as component id: Header

报了这个错.. 其实是个 warning

原因是因为

...

Read More...


Component template should contain exactly one root element. If you are using v-if on multiple eleme

...

Read More...


[Vue warn]: Invalid prop: type check failed for prop "value". Expected String, Number, got

...

Read More...


Status Code 405 Method Not Allowed

Status Code:405 Method Not Allowed

delete方法请求删除数据.. 发现报错..

先检查 nginx的 允许跨域的方法...

nginx.conf

add
...

Read More...


iview 表格(table) 里使用图片(img)

{
    title: '头像',
    key: 'avatar',
    columns: {
        'width':'50px'
    },
    render: (h, p
...

Read More...


Call to a member function diffForHumans()on string

自定义 timestamp 字段,报错

创建数据库的时候,加了一个时间的字段

$table->timestamp('last_reply_actived_at')->nullable(

...

Read More...


Method __PHP_Incomplete_Class异常报错

local.ERROR: ReflectionException: Method __PHP_Incomplete_Class::handle() does not exist in /data/w

...

Read More...


unix:///var/run/supervisor.sock no such file

unix:///var/run/supervisor.sock no such file

解决方法

sudo touch /var/run/supervisor.sock
sudo chmod 7
...

Read More...


因为小程序不允许 用navigate 在tab间相互跳转

利用代码打印看一下console就知道..

complete: function (res) {
                consol
...

Read More...


The server quit without updating PID file

The server quit without updating PID file (/data/mysql/mysql.pid).

半夜12点,收到百度短信...说我 一个站 挂了....

...

Read More...


notifynder4 简单翻译了一下文档

安装

使用composer安装

composer require fenos/notifynder:^4.0

配置

config/app.php里添加

'providers' => [
 
...

Read More...


mysql5.7关闭严格模式

更改字段,结果有些默认值 报错...

ERROR 1067 (42000): Invalid default value for 'created_at'

但是在5.6版本里没事...

所以,打算

...

Read More...


当你能力不能满足你的野心的时候,你就该沉下心来学习