update code

dev
haha 2024-06-25 00:27:14 +08:00
parent f46b81f84a
commit 1e5c1728c0
3 changed files with 7 additions and 5 deletions

View File

@ -99,7 +99,9 @@ export default {
},
loadData2() {
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 => {
let tmps = (d.data || []).map(it => {
it.images = this.$tryToJson(it.imageUrl);