zhuxinbo %!s(int64=5) %!d(string=hai) anos
pai
achega
98f7a23f8d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/views/modules/advertiser/modules/ProjectModal.vue

+ 1 - 1
src/views/modules/advertiser/modules/ProjectModal.vue

@@ -147,7 +147,7 @@ export default {
           //时间格式化
           formData.advertiserId = data.key
           formData.advertiserName = data.label
-          formData.responsibleId = that.resId
+          formData.responsibleId = that.resId == '' ? that.userInfo().id : that.resId
           formData.userId = that.userInfo().id
           httpAction(httpurl, formData, method)
             .then(res => {