Commit f860c1e6 by crushh

update: dist

parent 75f8af03
...@@ -448,7 +448,7 @@ export default { ...@@ -448,7 +448,7 @@ export default {
getDetail(){ getDetail(){
fetch.getGameTemplat({ templateId: this.$route.query.id }).then(res=>{ fetch.getGameTemplat({ templateId: this.$route.query.id }).then(res=>{
console.log(res); console.log(res);
const { result: { templateId, templateType, templateName, prizeMax, prizeMin, sort, gameTemplateMaterialList } } = res; const { result: { templateId, templateType, templateName, prizeMax, prizeMin, sort, gameTemplateMaterialList, viewPrize } } = res;
const obj = {}; const obj = {};
this.musicList.forEach(item=>{ this.musicList.forEach(item=>{
...@@ -488,7 +488,7 @@ export default { ...@@ -488,7 +488,7 @@ export default {
} }
}); });
this.musicList = Object.values(obj); this.musicList = Object.values(obj);
this.form = Object.assign(this.form, { templateId, templateType, templateName, prizeMax, prizeMin, sort }); this.form = Object.assign(this.form, { templateId, templateType, templateName, prizeMax, prizeMin, sort, viewPrize });
console.log(this.form); console.log(this.form);
console.log(this.imageList); console.log(this.imageList);
......
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