bug修复

This commit is contained in:
@fawn-nine
2023-09-11 15:31:51 +08:00
parent 548781e8e5
commit 2038b2284b
2 changed files with 6 additions and 5 deletions

View File

@@ -210,10 +210,12 @@
this.dataForm.productImages = data.bookTaskEntity.images
this.dataForm.productDetails = data.bookTaskEntity.content
console.log(this.dataForm.video, 'this.dataForm.video')
this.videoList.push({
name: data.bookTaskEntity.heading,
url: data.bookTaskEntity.video
if (this.dataForm.video != '') {
this.videoList.push({
name: data.bookTaskEntity.heading,
url: data.bookTaskEntity.video
})
}
if (data.bookTaskEntity.images != "") {
var img = {
name: '',

View File

@@ -14,8 +14,7 @@
:data="dataList"
border
v-loading="dataListLoading"
@selection-change="selectionChangeHandle"
:default-sort = "{prop: 'days', order: 'ascending'}"
@selection-change="selectionChangeHandle"
style="width: 100%;">
<el-table-column
type="selection"