This commit is contained in:
@@ -9,7 +9,7 @@ $(function () {
|
||||
$("#docement-list").append(`
|
||||
<div class="document-box">
|
||||
<div class="document-header">
|
||||
<img src="/web/BlackFruit-web/assets/img/document/group-${Math.ceil(
|
||||
<img src="/assets/img/document/group-${Math.ceil(
|
||||
Math.random() * 6
|
||||
)}.png" alt="">
|
||||
<h5>${item.name}</h5>
|
||||
|
||||
@@ -148,8 +148,8 @@
|
||||
return;
|
||||
}
|
||||
|
||||
// 请确保 /web/BlackFruit-web/assets/data/land-110m.json 存在
|
||||
fetch("/web/BlackFruit-web/assets/data/land-110m.json")
|
||||
// 请确保 /assets/data/land-110m.json 存在
|
||||
fetch("/assets/data/land-110m.json")
|
||||
.then(function (res) {
|
||||
return res.json();
|
||||
})
|
||||
@@ -180,7 +180,7 @@
|
||||
})
|
||||
.catch(function (err) {
|
||||
console.warn(
|
||||
"[Globe] failed to load /web/BlackFruit-web/assets/data/land-110m.json:",
|
||||
"[Globe] failed to load /assets/data/land-110m.json:",
|
||||
err
|
||||
);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user