changes
This commit is contained in:
@@ -23,8 +23,10 @@ export default {
|
||||
async created() {
|
||||
this.pagedata = this.$getpage();
|
||||
this.files = await this.$getdata(this.api, {
|
||||
ref: this.row.id,
|
||||
file__type: 1,
|
||||
filter: {
|
||||
ref: this.row.id,
|
||||
file__type: 1,
|
||||
},
|
||||
});
|
||||
this.vbind = {
|
||||
pagename: this.pagename1,
|
||||
@@ -62,7 +64,7 @@ export default {
|
||||
});
|
||||
if (this.pagename) {
|
||||
let vapi = this.api.replace("file", "");
|
||||
let ele = await this.$getdata(vapi, { id: this.row.id }, undefined, true);
|
||||
let ele = await this.$getdata(vapi, { filter: { id: this.row.id }, first: true });
|
||||
this.$updatepage(this.pagename, ele);
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user