mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-21 17:21:09 +01:00
updated CHANGELOG
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
- **下载结果错误**. [#465](https://github.com/crawlab-team/crawlab/issues/465)
|
||||
- **crawlab-sdk CLI 错误**. [#458](https://github.com/crawlab-team/crawlab/issues/458)
|
||||
- **页面刷新问题**. [#441](https://github.com/crawlab-team/crawlab/issues/441)
|
||||
- **结果不支持 JSON**. [#202](https://github.com/crawlab-team/crawlab/issues/202)
|
||||
- **修复“删除爬虫后获取所有爬虫”错误**.
|
||||
- **修复 i18n 警告**.
|
||||
|
||||
|
||||
@@ -14,6 +14,7 @@
|
||||
- **Download results error**. [#465](https://github.com/crawlab-team/crawlab/issues/465)
|
||||
- **crawlab-sdk CLI error**. [#458](https://github.com/crawlab-team/crawlab/issues/458)
|
||||
- **Page refresh issue**. [#441](https://github.com/crawlab-team/crawlab/issues/441)
|
||||
- **Results not support JSON**. [#202](https://github.com/crawlab-team/crawlab/issues/202)
|
||||
- **Getting all spider after deleting a spider**.
|
||||
- **i18n warning**.
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
<template v-for="col in columns">
|
||||
<el-table-column :key="col" :label="col" :property="col" min-width="120">
|
||||
<template slot-scope="scope">
|
||||
{{scope.row[col] !== undefined ? JSON.stringify(scope.row[col]).replace(/^"/, '').replace(/"$/, '') : ''}}
|
||||
{{getString(scope.row[col])}}
|
||||
</template>
|
||||
</el-table-column>
|
||||
</template>
|
||||
@@ -61,18 +61,17 @@ export default {
|
||||
computed: {
|
||||
filteredData () {
|
||||
return this.data
|
||||
// .map(d => d)
|
||||
// .filter((d, index) => {
|
||||
// // pagination
|
||||
// const pageNum = this.pageNum
|
||||
// const pageSize = this.pageSize
|
||||
// return (pageSize * (pageNum - 1) <= index) && (index < pageSize * pageNum)
|
||||
// })
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
onPageChange () {
|
||||
this.$emit('page-change', { pageNum: this.pageNum, pageSize: this.pageSize })
|
||||
},
|
||||
getString (value) {
|
||||
if (value === undefined) return ''
|
||||
const str = JSON.stringify(value)
|
||||
if (str.match(/^"(.*)"$/)) return str.match(/^"(.*)"$/)[1]
|
||||
return str
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user