Ver código fonte

图片数量限制修改

aleyds 3 anos atrás
pai
commit
e2db224b3c
2 arquivos alterados com 4 adições e 4 exclusões
  1. 2 2
      common/config.js
  2. 2 2
      pages/getin/getin.vue

+ 2 - 2
common/config.js

@@ -1,5 +1,5 @@
-// const host = 'https://wx.hw.hongweisoft.com/parking';//本地
-const host = 'https://parking.pdzhtc.com';//正式
+const host = 'https://wx.hw.hongweisoft.com/parking';//本地
+// const host = 'https://parking.pdzhtc.com';//正式
 // const host = 'http://172.16.90.64:7000';
 const config = {
 	wxAppid:'wxbe90cc7c5233dd84',// wxAppid 

+ 2 - 2
pages/getin/getin.vue

@@ -275,9 +275,9 @@
 					console.log('files',element)
 				  that.images.push(element[0].response.data.url);
 				});
-				if((that.images=='' || that.images==null)&&that.images.length<=3){
+				if((that.images=='' || that.images==null)&&that.images.length < 2){
 					this.$refs.uToast.show({
-						title: '需完整上传4张取证照片',
+						title: '请至少上传两张取证图片',
 						type: 'error',
 					})
 				}else{