|
@@ -249,7 +249,13 @@
|
|
|
this.formData = JSON.parse(JSON.stringify(this.addPropsData));
|
|
|
this.formData.chemicalShape = this.addPropsData.chemicalShape+''
|
|
|
if(this.formData.classifyAttribute){
|
|
|
- this.formData.classifyAttribute = this.formData.classifyAttribute.split(",");
|
|
|
+ if(this.formData.classifyAttribute[0]){
|
|
|
+ this.formData.classifyAttribute = this.formData.classifyAttribute.split(",");
|
|
|
+ }else{
|
|
|
+ this.formData.classifyAttribute = [];
|
|
|
+ }
|
|
|
+ }else{
|
|
|
+ this.formData.classifyAttribute = [];
|
|
|
}
|
|
|
}
|
|
|
},
|