@@ -123,9 +123,10 @@ export default {
}).then(()=>{
let copy=this.$route.query;
console.log("copy:",copy);
+ //如果有值,则复制新增
if(copy){
if(copy.portId){
- copy.portId=copy.portId * 1;
+ copy.portId=[copy.portId * 1];
}
this.$set(this,"form",copy);