|
@@ -75,12 +75,14 @@ li {
|
|
:dataSource="dataSource"
|
|
:dataSource="dataSource"
|
|
:pagination="ipagination"
|
|
:pagination="ipagination"
|
|
:loading="loading"
|
|
:loading="loading"
|
|
|
|
+ :rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}"
|
|
|
|
+ @change="handleTableChange"
|
|
>
|
|
>
|
|
<!-- 字符串超长截取省略号显示-->
|
|
<!-- 字符串超长截取省略号显示-->
|
|
<span slot="esContent" slot-scope="text">
|
|
<span slot="esContent" slot-scope="text">
|
|
<j-ellipsis :value="text" :length="10" />
|
|
<j-ellipsis :value="text" :length="10" />
|
|
</span>
|
|
</span>
|
|
- <span slot="url" slot-scope="url,record">
|
|
|
|
|
|
+ <span slot="url" slot-scope="url">
|
|
<img :src="url" alt style="width:150px" v-if="img(url)" />
|
|
<img :src="url" alt style="width:150px" v-if="img(url)" />
|
|
<video :src="url" controls="controls" v-else style="width:150px">您的浏览器不支持 video 标签。</video>
|
|
<video :src="url" controls="controls" v-else style="width:150px">您的浏览器不支持 video 标签。</video>
|
|
</span>
|
|
</span>
|