25954
This commit is contained in:
		@@ -97,7 +97,7 @@ export default {
 | 
			
		||||
  },
 | 
			
		||||
  computed: { ...mapState(['user']) },
 | 
			
		||||
  onLoad(o) {
 | 
			
		||||
    document.title =  '发布活动' 
 | 
			
		||||
    document.title = '发布活动'
 | 
			
		||||
    this.id = o.id ? o.id : ''
 | 
			
		||||
    this.$dict.load('realityStatus').then(() => {
 | 
			
		||||
      this.areaId = this.user.areaId
 | 
			
		||||
@@ -105,6 +105,7 @@ export default {
 | 
			
		||||
 | 
			
		||||
      this.user.phone = this.forms.contactPhone
 | 
			
		||||
      this.user.name = this.forms.contactPerson
 | 
			
		||||
      this.getDetail()
 | 
			
		||||
    })
 | 
			
		||||
  },
 | 
			
		||||
 | 
			
		||||
@@ -113,12 +114,12 @@ export default {
 | 
			
		||||
    getDetail() {
 | 
			
		||||
      this.$http.post(`/app/appvillageactivityinfo/queryDetailById?id=${this.id}`).then((res) => {
 | 
			
		||||
        if (res?.data) {
 | 
			
		||||
          // this.detail = res.data
 | 
			
		||||
          // if (this.detail) {
 | 
			
		||||
          //   if (this.detail.url) {
 | 
			
		||||
          //     this.detail.url = JSON.parse(res.data.url || '[]')
 | 
			
		||||
          //   }
 | 
			
		||||
          // }
 | 
			
		||||
          this.forms = res.data
 | 
			
		||||
          if (res.data) {
 | 
			
		||||
            if (res.data.url) {
 | 
			
		||||
              this.forms.url = JSON.parse(res.data.url || '[]')
 | 
			
		||||
            }
 | 
			
		||||
          }
 | 
			
		||||
        }
 | 
			
		||||
      })
 | 
			
		||||
    },
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user