update code
parent
f46b81f84a
commit
1e5c1728c0
|
@ -99,7 +99,9 @@ export default {
|
||||||
},
|
},
|
||||||
loadData2() {
|
loadData2() {
|
||||||
this.info=null;
|
this.info=null;
|
||||||
|
this.prj = this.$root.project;
|
||||||
|
this.prjs=this.$root.projects||this.prjs;
|
||||||
|
this.dept=this.$root.dept||this.dept;
|
||||||
this.$api.project.listPhotography(this.prj.id, this.dept.id || 0).then(d => {
|
this.$api.project.listPhotography(this.prj.id, this.dept.id || 0).then(d => {
|
||||||
let tmps = (d.data || []).map(it => {
|
let tmps = (d.data || []).map(it => {
|
||||||
it.images = this.$tryToJson(it.imageUrl);
|
it.images = this.$tryToJson(it.imageUrl);
|
||||||
|
|
Loading…
Reference in New Issue