Browse Source

提示语修改

htc 5 months ago
parent
commit
94f403aabe
1 changed files with 1 additions and 1 deletions
  1. 1 1
      pagesHouse/Mine/PersonalEditing/PersonalEditing.vue

+ 1 - 1
pagesHouse/Mine/PersonalEditing/PersonalEditing.vue

@@ -168,7 +168,7 @@
 				this.dto.id = uni.getStorageSync('merchantId')
 				this.dto.id = uni.getStorageSync('merchantId')
 				
 				
 				this.$api.detectionContent(this.dto.name).then(result => {
 				this.$api.detectionContent(this.dto.name).then(result => {
-					if (result.code !== 0) return this.$showToast('店铺名称包含敏感违规信息');
+					if (result.code !== 0) return this.$showToast(result.code==87014?'店铺名称包含敏感违规信息':result.msg);
 					
 					
 					this.$api.put('/api/merchant/food/updateMerchantInfo', this.dto).then(res => {
 					this.$api.put('/api/merchant/food/updateMerchantInfo', this.dto).then(res => {
 						if (res.data.code == 0) {
 						if (res.data.code == 0) {