qinzhipeng_v 5 years ago
parent
commit
882890d33c

+ 1 - 0
src/views/mock/httpmock.vue

@@ -376,6 +376,7 @@ export default {
           this.serviceData = ele
           this.serviceData.creator = this.userNames
           this.serviceData.creatorEn = this.username
+          this.serviceData.updator = ''
           this.serviceData.id = ''
           this.serviceData.returnDataType === 512
           if (this.serviceData.requestForWard) { this.serviceData.redirect = 1 } else { this.serviceData.redirect = 0 }

+ 1 - 1
src/views/mock/httprule.vue

@@ -426,7 +426,7 @@ export default {
             this.dataFrom = vel
             this.dataFrom.creator = this.userNames
             this.dataFrom.creatorEn = this.username
-            // this.dataFrom.updator = this.userNames
+            this.dataFrom.updator = ''
             this.dataFrom.methodId = parseInt(this.$route.path.split('/')[3])
             this.dataFrom.methodProtocol = 'http'
             this.dataFrom = vel

+ 1 - 0
src/views/mock/interface.vue

@@ -583,6 +583,7 @@ export default {
           }
           this.serviceData.creator = this.userNames
           this.serviceData.creatorEn = this.username
+          this.$set(this.serviceData, 'updator', '')
           createService(this.serviceData).then(response => {
             // this.list.unshift(this.serviceData)
             // console.log(response)

+ 1 - 0
src/views/mock/rule.vue

@@ -361,6 +361,7 @@ export default {
             this.ruleData.methodId = parseInt(this.$route.path.split('/')[3])
             this.ruleData.creator = this.userNames
             this.ruleData.creatorEn = this.username
+            this.ruleData.updator = ''
             createRule(this.ruleData).then(response => {
               // this.list.unshift(this.serviceData)
               if (response.code === 200) {