methods: {
handleSelectionChange(val){
this.sids=val.map(x=>x.sid).join(",");
console.log(this.sids);
},
dels(){
this.KaTeX parse error: Expected '}', got 'EOF' at end of input: … this.message({
type: ‘success’,
message: ‘删除成功!’
});
})
}).catch(() => {
this.$message({
type: 'info',
message: '已取消删除'
});
});
},
openUpdateDialog(row){
this.imageUrl='',
this.cascadeValue=[],
this.checkedCourse=[],
Object.assign(this.updateForm,row);
this.imageUrl=row.img;
if (row.sex == 0) {
this.updateForm.sex = '0';
} else {
this.updateForm.sex = '1';
}
if(row.province!=null){
this.cascadeValue.push(row.province)