平昌党建先提交挂起

This commit is contained in:
aixianling
2022-10-24 16:13:01 +08:00
parent 9209ac9fae
commit a9351c58d3
7 changed files with 305 additions and 77 deletions

View File

@@ -1,4 +1,5 @@
import http from "dvcp-ui/lib/js/request";
import Vue from "vue"
export default class PartyOrg {
constructor(id) {
@@ -9,7 +10,7 @@ export default class PartyOrg {
init() {
return PartyOrg.getInfo(this.id).then(data => {
Object.entries(data).map(([k, v]) => this[k] = v)
Object.entries(data).map(([k, v]) => Vue.set(this, k, v))
})
}