perf(main): 调用获取服务器文件URL方法
- 在 main.js 中导入 getFileUrlFromServer 工具函数 - 初始化时调用 getFileUrlFromServer 方法以预加载资源 - 保持其它初始化逻辑不变master^2
parent
722c4771e6
commit
b8a0afc982
|
|
@ -2,6 +2,7 @@ import { setJJBCommonAntdMessage } from "@cqsjjb/jjb-common-lib";
|
|||
import { setup } from "@cqsjjb/jjb-dva-runtime";
|
||||
import { message } from "antd";
|
||||
import dayjs from "dayjs";
|
||||
import { getFileUrlFromServer } from "zy-react-library/utils";
|
||||
import "dayjs/locale/zh-cn";
|
||||
import "../blessed_by_buddha";
|
||||
|
||||
|
|
@ -11,7 +12,7 @@ require("./styles/search-actions-right.less");
|
|||
|
||||
dayjs.locale("zh-cn");
|
||||
setJJBCommonAntdMessage(message);
|
||||
|
||||
getFileUrlFromServer();
|
||||
window.mapLongitude = "119.69457721306945";
|
||||
window.mapLatitude = "39.940504336846665";
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue