|
@@ -257,7 +257,11 @@ export default {
|
|
|
uploadList(arr) {
|
|
|
let ays = JSON.parse(JSON.stringify(arr));
|
|
|
ays.forEach((item) => {
|
|
|
- item.subjectIds = item.subjectIds.split(",").map(Number);
|
|
|
+ if(item.subjectIds){
|
|
|
+ item.subjectIds = item.subjectIds.split(",").map(Number);
|
|
|
+ }else{
|
|
|
+ item.subjectIds = []
|
|
|
+ }
|
|
|
});
|
|
|
let newObjs = this.tableData.concat(ays);
|
|
|
this.tableData = this.$methodsTools.uniqueFunc(newObjs, "userId");
|
|
@@ -413,8 +417,6 @@ export default {
|
|
|
}
|
|
|
.rowSty {
|
|
|
display: flex;
|
|
|
- .ulSty {
|
|
|
- }
|
|
|
.spanSty {
|
|
|
width: 50px;
|
|
|
flex-shrink: 0;
|