4 Commits

Author SHA1 Message Date
xiaozhiyong
66ce529d41 Merge branch 'master' of http://121.196.213.68:3000/caoliancun/MP_XOIL_company_new 2023-11-20 13:24:33 +08:00
xiaozhiyong
74d32fa0a7 更新 2023-11-20 13:24:17 +08:00
928947bab4 Merge pull request '12' (#13) from caolc into master
Reviewed-on: #13
2023-11-19 10:42:05 +00:00
caoliancun
9d2c86a20d 12 2023-11-19 18:40:26 +08:00
2 changed files with 10 additions and 3 deletions

View File

@@ -280,9 +280,16 @@
submit() {
this.checkFn('name');
this.checkFn('plateNumber');
if (!this.fromStyle.nameType || !this.fromStyle.plateNumberType) {
if (!this.fromStyle.nameType) {
uni.showToast({
title: '还有信息没有填哦',
title: '请输入姓名',
icon: 'error'
});
return
};
if (!this.fromStyle.plateNumberType) {
uni.showToast({
title: '车牌号格式有误',
icon: 'error'
});
return

View File

@@ -487,7 +487,7 @@
markerList.forEach((item, index) => {
let configure = {
siteId: item.id,
id: Number(`${index}`), //2023.08.30 在此处踩坑 一作这b竟然把id重新赋值了
id: Number(`${index}`), //2023.08.30 在此处踩坑 一作这b竟然把id重新赋值了。 一作去好好查一下官网的MAP中的marker的文档 id字段的注意事项再看一下后台给的id 补补课
imgCustomCallout: this.olitype(item.siteChannel),
iconPath: '../../static/img/tt.png',
width: 5,