整合统一网格员身份信息获取

This commit is contained in:
aixianling
2022-03-17 10:27:03 +08:00
parent f5b301d2ec
commit e0ec7ddc27
2 changed files with 20 additions and 17 deletions

View File

@@ -85,7 +85,7 @@ export default {
...mapActions(['selectPrivilegedContact']),
getDetail() {
this.$http.post(`/app/appgirdinfo/queryDetailById?id=${this.id}`).then((res) => {
if (res.code == 0) {
if (res?.data) {
this.detailInfo = res.data
if (this.fromType == 'edit') {
this.form = res.data