|
|
|
@ -318,7 +318,7 @@ export default {
|
|
|
|
|
console.log("device是空,if获取的device",this.form.device);
|
|
|
|
|
this.form.device = obj;
|
|
|
|
|
}else{
|
|
|
|
|
if(obj != undefined && obj != null){
|
|
|
|
|
if(obj != undefined && obj != null && obj != ""){
|
|
|
|
|
const a = obj.split(',');
|
|
|
|
|
console.log('切割的数组',obj.split(','));
|
|
|
|
|
a.forEach(item => {
|
|
|
|
@ -347,7 +347,7 @@ export default {
|
|
|
|
|
console.log("material是空,if获取的material",this.form.material);
|
|
|
|
|
this.form.material = obj;
|
|
|
|
|
}else{
|
|
|
|
|
if(obj != undefined && obj != null){
|
|
|
|
|
if(obj != undefined && obj != null && obj !=""){
|
|
|
|
|
const a = obj.split(',');
|
|
|
|
|
const len = obj.split(',').length;
|
|
|
|
|
console.log('切割的数组',obj.split(','));
|
|
|
|
|