dev_1.2
tangjie 2026-07-29 16:14:58 +08:00
parent 1ed729316b
commit 05d87f6524
2 changed files with 7 additions and 5 deletions

View File

@ -22,21 +22,23 @@ const BaiduMapPicker = ({ visible, onCancel, onConfirm }) => {
const scriptId = "baiduMapScript";
if (document.getElementById(scriptId)) return;
window.__onBMapLoaded = () => {
setLoaded(true);
};
const callback = async () => {
await window.base.loadDynamicResource({
url: `https://api.map.baidu.com/api?v=3.0&ak=6lkWDSnHTCcvUenZhovQPER9nkhFfT9A&callback=__onBMapLoaded`,
type: "script",
attr: { type: "text/javascript" },
});
setLoaded(true);
};
if (window?.base?.loadDynamicResource) {
callback();
return;
}
window.__onBMapLoaded = () => {
setLoaded(true);
};
const script = document.createElement("script");
script.id = scriptId;

View File

@ -179,7 +179,7 @@ const CustomerManage = (props) => {
width: 220,
},
{ title: "统一社会信用代码", dataIndex: "creditCode", width: 220 },
{ title: "客户联系人", dataIndex: "principalName", width: 150 },
{ title: "主要负责人", dataIndex: "principalName", width: 150 },
{ title: "联系人电话", dataIndex: "principalPhone", width: 160 },
{
title: "属地",