Skip to content

Instantly share code, notes, and snippets.

@tuxknight
tuxknight / mTable.vue
Created May 18, 2017 16:35
VUE 单文件组件使用 Element-UI 的多选表格,无法实现全选框(表头的 checkbox) 与单行 checkbox 的联动
<template>
<div>
<el-table ref="multipleTable" :data="tableData3" border tooltip-effect="dark" style="width: 100%" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="55">
</el-table-column>
<el-table-column label="日期" width="120">
<template scope="scope">{{ scope.row.date }}</template>
</el-table-column>
<el-table-column prop="name" label="姓名" width="120">
</el-table-column>
@tuxknight
tuxknight / log
Last active March 10, 2016 14:57
docker debug log
# systemctl status -l docker
● docker.service - Docker Application Container Engine
Loaded: loaded (/etc/systemd/system/docker.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since 2016-03-10 22:49:57 CST; 11s ago
Docs: https://docs.docker.com
Process: 8316 ExecStart=/usr/bin/docker daemon -D -H fd:// -H tcp://10.2.4.18:2375 -H unix://var/run/docker.sock --insecure-registry=registry.idc --label com.ctcf.storage=hdd --label com.ctcf.env=build --label com.ctcf.loc=office --label com.ctcf.vendor=virtualbox --label com.ctcf.ip=10.2.4.18 --graph /data/docker --storage-driver devicemapper --registry-mirror=http://439bc1fc.m.daocloud.io (code=exited, status=2)
Main PID: 8316 (code=exited, status=2)
3月 10 22:49:57 sh-jenkins-01 docker[8316]: /root/rpmbuild/BUILD/docker-engine/.gopath/src/github.com/docker/docker/distribution/xfer/transfer.go:110 +0x355
3月 10 22:49:57 sh-jenkins-01 docker[8316]: github.com/docker/docker/distribution/xfer.(*uploadTransfer).Broadcast(0xc8214