kui-vue 3.3.0-rc2 → 3.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/affix/demo/callbacks.md +25 -0
- package/components/affix/demo/index.vue +2 -2
- package/components/avatar/demo/change.md +7 -8
- package/components/avatar/demo/index.vue +9 -2
- package/components/avatar/demo/types.md +4 -4
- package/components/badge/demo/color.md +1 -1
- package/components/badge/demo/dot.md +1 -1
- package/components/badge/demo/index.vue +8 -8
- package/components/breadcrumb/demo/icon.md +1 -1
- package/components/breadcrumb/demo/index.vue +4 -4
- package/components/breadcrumb/demo/separator.md +5 -7
- package/components/breadcrumb/styles/index.less +12 -0
- package/components/button/demo/index.vue +7 -7
- package/components/button/demo/normal.md +2 -2
- package/components/button/demo/size.md +1 -1
- package/components/button/styles/index.less +145 -44
- package/components/card/demo/index.vue +3 -3
- package/components/carousel/demo/index.vue +1 -1
- package/components/checkbox/demo/disabled.md +15 -10
- package/components/checkbox/demo/index.vue +16 -9
- package/components/collapse/demo/index.vue +6 -6
- package/components/colorPicker/colorpicker.jsx +1 -0
- package/components/colorPicker/demo/index.vue +2 -2
- package/components/colorPicker/styles/index.less +293 -240
- package/components/datePicker/demo/index.vue +1 -1
- package/components/datePicker/styles/datepicker.less +1 -0
- package/components/descriptions/demo/index.vue +2 -2
- package/components/divider/demo/index.vue +4 -4
- package/components/drawer/demo/form.md +0 -26
- package/components/drawer/demo/index.vue +16 -8
- package/components/dropdown/demo/base.md +2 -2
- package/components/dropdown/demo/index.vue +12 -3
- package/components/dropdown/demo/placement.md +0 -8
- package/components/empty/demo/custom.md +2 -2
- package/components/empty/demo/index.vue +5 -5
- package/components/form/styles/index.less +39 -4
- package/components/icon/demo/index.vue +3 -3
- package/components/image/demo/base.md +1 -1
- package/components/image/demo/errors.md +2 -2
- package/components/image/demo/extra.md +3 -3
- package/components/image/demo/extra_globle.md +3 -3
- package/components/image/demo/globle.md +4 -4
- package/components/image/demo/group.md +2 -2
- package/components/image/demo/index.vue +8 -8
- package/components/image/demo/origin.md +2 -2
- package/components/image/preview.jsx +13 -6
- package/components/image/styles/index.less +5 -2
- package/components/input/demo/index.vue +9 -9
- package/components/input/styles/index.less +21 -8
- package/components/inputNumber/demo/index.vue +6 -6
- package/components/inputNumber/styles/index.less +1 -1
- package/components/layout/styles/index.less +5 -1
- package/components/loading/demo/index.vue +10 -3
- package/components/locale/index.js +1 -1
- package/components/menu/styles/dropmenu.less +19 -1
- package/components/menu/styles/index.less +156 -19
- package/components/message/demo/index.vue +16 -7
- package/components/modal/demo/base.md +3 -1
- package/components/modal/demo/confrim.md +3 -2
- package/components/modal/demo/index.vue +17 -8
- package/components/modal/index.js +6 -5
- package/components/modal/modal.jsx +1 -1
- package/components/modal/styles/index.less +18 -14
- package/components/notice/demo/index.vue +16 -7
- package/components/notice/styles/index.less +1 -0
- package/components/page/demo/index.vue +6 -6
- package/components/page/styles/index.less +10 -3
- package/components/popconfirm/demo/index.vue +1 -1
- package/components/popconfirm/styles/index.less +1 -1
- package/components/poptip/demo/index.vue +1 -1
- package/components/poptip/styles/index.less +197 -170
- package/components/progress/demo/index.vue +1 -1
- package/components/radio/demo/index.vue +9 -10
- package/components/radio/styles/index.less +1 -1
- package/components/rate/demo/index.vue +9 -9
- package/components/select/demo/index.vue +10 -10
- package/components/skeleton/demo/custom.md +1 -1
- package/components/skeleton/demo/index.vue +1 -1
- package/components/slider/demo/index.vue +8 -8
- package/components/slider/styles/index.less +5 -1
- package/components/slider/thumb.jsx +25 -7
- package/components/space/demo/index.vue +8 -8
- package/components/spin/demo/base.md +3 -1
- package/components/spin/demo/index.vue +5 -5
- package/components/spin/spin.jsx +8 -1
- package/components/spin/styles/index.less +18 -4
- package/components/styles/color.less +18 -2
- package/components/styles/var.less +26 -4
- package/components/switch/demo/index.vue +8 -8
- package/components/switch/styles/index.less +28 -1
- package/components/table/demo/base-render.md +1 -1
- package/components/table/demo/base.md +1 -1
- package/components/table/demo/bordered.md +1 -1
- package/components/table/demo/custom-header.md +1 -1
- package/components/table/demo/edit.md +1 -1
- package/components/table/demo/fixed-head.md +3 -1
- package/components/table/demo/index.vue +19 -21
- package/components/table/extend.jsx +29 -11
- package/components/table/index.md +1 -0
- package/components/table/styles/index.less +10 -1
- package/components/table/table.jsx +3 -3
- package/components/tabs/demo/index.vue +10 -10
- package/components/tag/demo/index.vue +4 -4
- package/components/timeline/demo/index.vue +4 -4
- package/components/tooltip/demo/index.vue +1 -1
- package/components/tooltip/styles/index.less +1 -1
- package/components/tree/demo/index.vue +1 -1
- package/components/upload/demo/index.vue +12 -12
- package/components/upload/demo/picture.md +2 -2
- package/dist/k-ui.css +2 -2
- package/dist/k-ui.js +2 -2
- package/dist/locale/de.js +1 -1
- package/dist/locale/el.js +1 -1
- package/dist/locale/en.js +1 -1
- package/dist/locale/fr.js +1 -1
- package/dist/locale/it.js +1 -1
- package/dist/locale/ja.js +1 -1
- package/dist/locale/ko.js +1 -1
- package/dist/locale/ru.js +1 -1
- package/dist/locale/th.js +1 -1
- package/dist/locale/ua.js +1 -1
- package/dist/locale/vi.js +1 -1
- package/dist/locale/zhCN.js +1 -1
- package/dist/locale/zhTW.js +1 -1
- package/package.json +17 -20
- package/readme.md +2 -2
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
```vue
|
|
7
7
|
<template>
|
|
8
|
-
<Table :data="data" :columns="columns" @row-click="test">
|
|
8
|
+
<Table :data="data" :columns="columns" @row-click="test" :sticky="52">
|
|
9
9
|
<template v-slot:tags="value">
|
|
10
10
|
<Tag v-for="tag in value" :key="tag" :color="tag=='Python'?'red':'orange'">{{tag}}</Tag>
|
|
11
11
|
</template>
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
```vue
|
|
7
7
|
<template>
|
|
8
8
|
<Button @click="add">Add</Button>
|
|
9
|
-
<Table :data="data" :columns="columns" bordered>
|
|
9
|
+
<Table :data="data" :columns="columns" bordered :sticky="52">
|
|
10
10
|
<a slot="name" slot-scope="text">{{text}}</a>
|
|
11
11
|
<template slot="action" slot-scope="text,row,col">
|
|
12
12
|
<Popconfirm
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
<cn>
|
|
2
2
|
#### 固定表头
|
|
3
3
|
方便一页内展示大量数据。指定 `Table` 的高度 `height` 和 `column ` 的宽度(不指定默认150)。
|
|
4
|
+
`sticky` 为 `true`, 表示全局吸顶,为 `number` 时,表示全局吸顶的距离
|
|
5
|
+
> 表头全局吸顶,依赖 sticky 属性,当父级style 存在 `overflow` 属性,吸顶会失效
|
|
4
6
|
</cn>
|
|
5
7
|
|
|
6
8
|
```vue
|
|
7
9
|
<template>
|
|
8
|
-
<Table :data="data" :columns="columns" :height="300"/>
|
|
10
|
+
<Table :data="data" :columns="columns" :height="300" :sticky="52"/>
|
|
9
11
|
</template>
|
|
10
12
|
<script>
|
|
11
13
|
export default{
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
<script>
|
|
2
|
-
import Base from './base'
|
|
3
|
-
import BaseRender from './base-render'
|
|
4
|
-
import CustomHeader from './custom-header'
|
|
5
|
-
import Info from './info'
|
|
6
|
-
import Ellipsis from './ellipsis'
|
|
7
|
-
import Filter from './filter'
|
|
8
|
-
import Bordered from './bordered'
|
|
9
|
-
import Span from './span'
|
|
10
|
-
import Edit from './edit'
|
|
11
|
-
import FixedHead from './fixed-head'
|
|
12
|
-
import FixedCol from './fixed-col'
|
|
13
|
-
import Fixed from './fixed'
|
|
14
|
-
import FixedSpan from './fixedspan'
|
|
15
|
-
import Selection from './selection'
|
|
16
|
-
import Expand from './expand'
|
|
17
|
-
import Embed from './embed'
|
|
18
|
-
import Size from './size'
|
|
2
|
+
import Base from './base.md'
|
|
3
|
+
import BaseRender from './base-render.md'
|
|
4
|
+
import CustomHeader from './custom-header.md'
|
|
5
|
+
import Info from './info.md'
|
|
6
|
+
import Ellipsis from './ellipsis.md'
|
|
7
|
+
import Filter from './filter.md'
|
|
8
|
+
import Bordered from './bordered.md'
|
|
9
|
+
import Span from './span.md'
|
|
10
|
+
import Edit from './edit.md'
|
|
11
|
+
import FixedHead from './fixed-head.md'
|
|
12
|
+
import FixedCol from './fixed-col.md'
|
|
13
|
+
import Fixed from './fixed.md'
|
|
14
|
+
import FixedSpan from './fixedspan.md'
|
|
15
|
+
import Selection from './selection.md'
|
|
16
|
+
import Expand from './expand.md'
|
|
17
|
+
import Embed from './embed.md'
|
|
18
|
+
import Size from './size.md'
|
|
19
19
|
import CN from '../index.md'
|
|
20
20
|
export default {
|
|
21
21
|
render() {
|
|
22
22
|
return (
|
|
23
|
-
<div class="
|
|
23
|
+
<div class="demo-table">
|
|
24
24
|
<Info class="typo" />
|
|
25
25
|
<Base />
|
|
26
26
|
<BaseRender />
|
|
@@ -43,6 +43,4 @@ export default {
|
|
|
43
43
|
)
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
|
-
|
|
47
|
-
</script>
|
|
48
|
-
|
|
46
|
+
</script>
|
|
@@ -14,6 +14,7 @@ export default {
|
|
|
14
14
|
width: Number,
|
|
15
15
|
hasExpand: Boolean,
|
|
16
16
|
indeterminate: Boolean,
|
|
17
|
+
sticky: [Boolean, Number],
|
|
17
18
|
checkAll: Boolean,
|
|
18
19
|
},
|
|
19
20
|
data() {
|
|
@@ -69,7 +70,7 @@ export default {
|
|
|
69
70
|
}
|
|
70
71
|
},
|
|
71
72
|
renderCol(hasHead) {
|
|
72
|
-
const isFixedHeader = this.height
|
|
73
|
+
const isFixedHeader = this.height !== undefined
|
|
73
74
|
let cols = []
|
|
74
75
|
let columns = this.columns2 || this.columns
|
|
75
76
|
columns.forEach((col, i) => {
|
|
@@ -217,8 +218,14 @@ export default {
|
|
|
217
218
|
if (!head.length) {
|
|
218
219
|
head.push(<tr>{ths}</tr>)
|
|
219
220
|
}
|
|
220
|
-
|
|
221
|
-
|
|
221
|
+
let props = { style: {} }
|
|
222
|
+
if (!this.height && this.sticky) {
|
|
223
|
+
props.class = 'k-table-thead-sticky'
|
|
224
|
+
if (this.sticky > 0) {
|
|
225
|
+
props.style.top = this.sticky + 'px'
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
return <thead ref="head" {...props}>{head}</thead>
|
|
222
229
|
},
|
|
223
230
|
renderTable(hasHead, body) {
|
|
224
231
|
let props = {}
|
|
@@ -269,7 +276,7 @@ export default {
|
|
|
269
276
|
}
|
|
270
277
|
},
|
|
271
278
|
render() {
|
|
272
|
-
let { height, width, body, scrollBarHeight } = this
|
|
279
|
+
let { height, width, body, scrollBarHeight, sticky } = this
|
|
273
280
|
let rootProps = {
|
|
274
281
|
// ref: 'table',
|
|
275
282
|
// class: [`k-table-container`,
|
|
@@ -279,14 +286,14 @@ export default {
|
|
|
279
286
|
on: {}
|
|
280
287
|
}
|
|
281
288
|
if (width && !height) {
|
|
282
|
-
rootProps.style.overflow = 'auto';
|
|
283
|
-
rootProps.on.scroll = e => this.asyncScroll(e)
|
|
289
|
+
// rootProps.style.overflow = 'auto';
|
|
290
|
+
// rootProps.on.scroll = e => this.asyncScroll(e)
|
|
284
291
|
}
|
|
285
|
-
|
|
292
|
+
let has_sticky = sticky !== undefined && sticky >= 0
|
|
286
293
|
const content = []
|
|
287
|
-
if (height) {
|
|
294
|
+
if (height || (width && has_sticky)) {
|
|
288
295
|
let headProps = {
|
|
289
|
-
class: `k-table-thead`,
|
|
296
|
+
class: [`k-table-thead`, { 'k-table-thead-sticky': has_sticky }],
|
|
290
297
|
on: {
|
|
291
298
|
scroll: e => this.asyncScroll(e, 'tbody')
|
|
292
299
|
},
|
|
@@ -295,10 +302,16 @@ export default {
|
|
|
295
302
|
// marginBottom: -scrollBarHeight + 'px'
|
|
296
303
|
}
|
|
297
304
|
}
|
|
298
|
-
if (
|
|
305
|
+
if (has_sticky && sticky > 0) {
|
|
306
|
+
headProps.style.top = sticky + 'px'
|
|
307
|
+
}
|
|
308
|
+
if (width && height && !has_sticky) {
|
|
299
309
|
headProps.style.marginBottom = -scrollBarHeight + 'px'
|
|
300
310
|
}
|
|
301
|
-
|
|
311
|
+
|
|
312
|
+
if (sticky) {
|
|
313
|
+
headProps.style.overflow = 'hidden'
|
|
314
|
+
} else if (height) {
|
|
302
315
|
headProps.style.overflow = 'auto'
|
|
303
316
|
}
|
|
304
317
|
content.push(<div {...headProps}>{this.renderTable(true, false)}</div>)
|
|
@@ -317,7 +330,12 @@ export default {
|
|
|
317
330
|
height: height + 'px',
|
|
318
331
|
overflow: 'auto scroll'
|
|
319
332
|
}
|
|
333
|
+
} else if (width && has_sticky) {
|
|
334
|
+
props.style = {
|
|
335
|
+
overflow: 'auto hidden'
|
|
336
|
+
}
|
|
320
337
|
}
|
|
338
|
+
|
|
321
339
|
content.push(<div {...props}>{this.renderTable(false, body)}</div>)
|
|
322
340
|
} else {
|
|
323
341
|
content.push(this.renderTable(true, body))
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
| loading | 表格异步加载模式 | Boolean | false |
|
|
11
11
|
| data | 显示的结构化数据 | Array | [ ] |
|
|
12
12
|
| columns | 表格列的配置描述, | Array | [ ] |
|
|
13
|
+
| sticky | 设置粘性头部和滚动条 | Boolean ,Number | - |
|
|
13
14
|
| row-click | 单击某一行时触发 | Function | 返回当前行的数据,index |
|
|
14
15
|
| change | 当排序和筛选改变时触发 | Function | - |
|
|
15
16
|
| on-change | 选中项发生变化时的回调 | Function(keys,selected,selectedRows) | - |
|
|
@@ -7,6 +7,12 @@
|
|
|
7
7
|
box-sizing: border-box;
|
|
8
8
|
position: relative;
|
|
9
9
|
color: var(--kui-color-font);
|
|
10
|
+
&-thead-sticky{
|
|
11
|
+
position: sticky;
|
|
12
|
+
position: -webkit-sticky;
|
|
13
|
+
top: 0;
|
|
14
|
+
z-index: 3;
|
|
15
|
+
}
|
|
10
16
|
.k-table-cell-fixed-left {
|
|
11
17
|
position: sticky;
|
|
12
18
|
left: 0;
|
|
@@ -52,7 +58,10 @@
|
|
|
52
58
|
tr>th, tr>td {
|
|
53
59
|
font-size: 14px;
|
|
54
60
|
padding: 10px;
|
|
55
|
-
|
|
61
|
+
box-sizing: border-box;
|
|
62
|
+
// overflow-wrap: break-word;
|
|
63
|
+
// word-wrap: break-word;
|
|
64
|
+
word-break: break-all;
|
|
56
65
|
word-wrap: break-word;
|
|
57
66
|
border-bottom: 1px solid var(--kui-color-table-border);
|
|
58
67
|
}
|
|
@@ -21,6 +21,7 @@ export default {
|
|
|
21
21
|
data: { type: Array, default: () => [] }, // 表格数据
|
|
22
22
|
columns: { type: Array, default: () => [] }, // 表格类目
|
|
23
23
|
loading: Boolean,
|
|
24
|
+
sticky: [Boolean, Number],
|
|
24
25
|
emptyText: String,
|
|
25
26
|
},
|
|
26
27
|
data() {
|
|
@@ -31,7 +32,7 @@ export default {
|
|
|
31
32
|
}
|
|
32
33
|
},
|
|
33
34
|
render() {
|
|
34
|
-
let { $slots, data, $scopedSlots, loading, height, width } = this
|
|
35
|
+
let { $slots, data, $scopedSlots, loading, height, width, sticky } = this
|
|
35
36
|
// bordered = true
|
|
36
37
|
const { header, footer } = $slots
|
|
37
38
|
let isTableFixed = width || height
|
|
@@ -42,7 +43,6 @@ export default {
|
|
|
42
43
|
content.push(<div class="k-table-header"> {header}</div>)
|
|
43
44
|
}
|
|
44
45
|
|
|
45
|
-
const isFixedHeader = height
|
|
46
46
|
|
|
47
47
|
let expandNode = $scopedSlots['expandedRowRender']
|
|
48
48
|
|
|
@@ -174,6 +174,7 @@ export default {
|
|
|
174
174
|
indeterminate,
|
|
175
175
|
checkAll,
|
|
176
176
|
width,
|
|
177
|
+
sticky,
|
|
177
178
|
hasExpand: expandNode != null
|
|
178
179
|
},
|
|
179
180
|
on: {
|
|
@@ -195,7 +196,6 @@ export default {
|
|
|
195
196
|
'k-table-fixed': isTableFixed,
|
|
196
197
|
'k-table-sm': this.size == 'small',
|
|
197
198
|
'k-table-lg': this.size == 'large',
|
|
198
|
-
// 'k-table-fixed-header': isFixedHeader,
|
|
199
199
|
'k-table-bordered': this.bordered,
|
|
200
200
|
[`k-table-ping-${this.ping}`]: width !== undefined
|
|
201
201
|
}]
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
<script>
|
|
2
|
-
import Info from './info'
|
|
3
|
-
import Base from './base'
|
|
4
|
-
import Disabled from './disabled'
|
|
5
|
-
// import Centered from './centered'
|
|
6
|
-
import Icon from './icon'
|
|
7
|
-
import Extra from './extra'
|
|
8
|
-
import Card from './card'
|
|
9
|
-
import Closable from './closable'
|
|
10
|
-
import Sample from './sample'
|
|
2
|
+
import Info from './info.md'
|
|
3
|
+
import Base from './base.md'
|
|
4
|
+
import Disabled from './disabled.md'
|
|
5
|
+
// import Centered from './centered.md'
|
|
6
|
+
import Icon from './icon.md'
|
|
7
|
+
import Extra from './extra.md'
|
|
8
|
+
import Card from './card.md'
|
|
9
|
+
import Closable from './closable.md'
|
|
10
|
+
import Sample from './sample.md'
|
|
11
11
|
|
|
12
12
|
import CN from '../index.md'
|
|
13
13
|
export default {
|
|
14
14
|
render() {
|
|
15
15
|
return (
|
|
16
|
-
<div class="
|
|
16
|
+
<div class="demo-tabs">
|
|
17
17
|
<Info class="typo" />
|
|
18
18
|
<Base />
|
|
19
19
|
<Disabled />
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
<script>
|
|
2
|
-
import Info from './info'
|
|
3
|
-
import Base from './base'
|
|
4
|
-
import Color from './color'
|
|
5
|
-
import Dynamic from './dynamic'
|
|
2
|
+
import Info from './info.md'
|
|
3
|
+
import Base from './base.md'
|
|
4
|
+
import Color from './color.md'
|
|
5
|
+
import Dynamic from './dynamic.md'
|
|
6
6
|
import CN from '../index.md'
|
|
7
7
|
export default {
|
|
8
8
|
render() {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
<script>
|
|
2
|
-
import Info from './info'
|
|
3
|
-
import Base from './base'
|
|
4
|
-
import Icon from './icon'
|
|
5
|
-
import Mode from './mode'
|
|
2
|
+
import Info from './info.md'
|
|
3
|
+
import Base from './base.md'
|
|
4
|
+
import Icon from './icon.md'
|
|
5
|
+
import Mode from './mode.md'
|
|
6
6
|
import CN from '../index.md'
|
|
7
7
|
export default {
|
|
8
8
|
render() {
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
background: @dark-back-color-10; // var(--kui-color-control-10);
|
|
14
14
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
|
|
15
15
|
color: #fff; //var(--kui-color-font);
|
|
16
|
-
border-radius: var(--kui-border-radius);
|
|
16
|
+
border-radius:8px;// var(--kui-border-radius);
|
|
17
17
|
position: relative;
|
|
18
18
|
// }
|
|
19
19
|
}
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
<script>
|
|
2
|
-
import Info from './info'
|
|
3
|
-
import Base from './base'
|
|
4
|
-
import FileList from './file-list'
|
|
5
|
-
import Accept from './accept'
|
|
6
|
-
import Exceed from './exceed'
|
|
7
|
-
import Custom from './custom'
|
|
8
|
-
import Directory from './directory'
|
|
9
|
-
import Picture from './picture'
|
|
10
|
-
import Avatar from './avatar'
|
|
11
|
-
import Draggable from './draggable'
|
|
12
|
-
import Form from './form'
|
|
2
|
+
import Info from './info.md'
|
|
3
|
+
import Base from './base.md'
|
|
4
|
+
import FileList from './file-list.md'
|
|
5
|
+
import Accept from './accept.md'
|
|
6
|
+
import Exceed from './exceed.md'
|
|
7
|
+
import Custom from './custom.md'
|
|
8
|
+
import Directory from './directory.md'
|
|
9
|
+
import Picture from './picture.md'
|
|
10
|
+
import Avatar from './avatar.md'
|
|
11
|
+
import Draggable from './draggable.md'
|
|
12
|
+
import Form from './form.md'
|
|
13
13
|
|
|
14
14
|
import CN from '../index.md'
|
|
15
15
|
export default {
|
|
16
16
|
render() {
|
|
17
17
|
return (
|
|
18
|
-
<div class="
|
|
18
|
+
<div class="demo-upload">
|
|
19
19
|
<Info class="typo" />
|
|
20
20
|
<Base />
|
|
21
21
|
<FileList />
|
|
@@ -26,7 +26,7 @@ export default{
|
|
|
26
26
|
},
|
|
27
27
|
fileList:[
|
|
28
28
|
{
|
|
29
|
-
url:'https://
|
|
29
|
+
url:'https://cdn.chuchur.com/upload/demo/test_300.jpg',
|
|
30
30
|
status:'uploading',
|
|
31
31
|
filename:'test.jpg',
|
|
32
32
|
size:'222kb',
|
|
@@ -34,7 +34,7 @@ export default{
|
|
|
34
34
|
status:'uploading'
|
|
35
35
|
},
|
|
36
36
|
{
|
|
37
|
-
url:'https://
|
|
37
|
+
url:'https://cdn.chuchur.com/upload/demo/test_300.jpg',
|
|
38
38
|
status:'error',
|
|
39
39
|
filename:'test.jpg',
|
|
40
40
|
size:'222kb'
|