Commit d6ef13f7 authored by renjintao's avatar renjintao

product edit

parent a757f337
......@@ -142,7 +142,11 @@ export default {
},
load(v) {
Api.get({ id: v }).then(r => {
this.parms.eid = r.result.productUrlList;
if (r.result.productUrlList && r.result.productUrlList != "") {
this.parms.eid = r.result.productUrlList;
} else {
this.parms.eid = this.$u.guid();
}
this.entity = r.result;
this.img = this.entity.productUrl;
this.componayId = r.result.madeCompany;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment