Compare commits
4 Commits
ff0986230c
...
66ce529d41
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
66ce529d41 | ||
|
|
74d32fa0a7 | ||
| 928947bab4 | |||
|
|
9d2c86a20d |
@@ -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
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user