三元表达式
This commit is contained in:
@@ -289,9 +289,9 @@
|
||||
},
|
||||
init(row, catalogue_id, courseid) {
|
||||
console.log('row2', row)
|
||||
this.dataForm = JSON.parse(JSON.stringify(row)) || {}
|
||||
this.dataForm.courseId = courseid || ''
|
||||
this.dataForm.catalogueId = catalogue_id || ''
|
||||
this.dataForm =row? JSON.parse(JSON.stringify(row)): {}
|
||||
this.dataForm.courseId = courseid?courseid : ''
|
||||
this.dataForm.catalogueId = catalogue_id?catalogue_id : ''
|
||||
this.visible = true
|
||||
if (this.dataForm.imgUrl && this.dataForm.imgUrl != "") {
|
||||
var img = {
|
||||
|
||||
Reference in New Issue
Block a user