Commit c8a82251 by zhangxw

1

1 parent 76521e20
......@@ -21,6 +21,7 @@
"vant": "^3.5.2",
"vue": "^3.2.13",
"vue-router": "^4.0.3",
"unplugin-vue-components": "^0.19.3",
"vuex": "^4.0.0"
},
"devDependencies": {
......@@ -36,7 +37,6 @@
"prettier": "^2.4.1",
"sass": "1.26.8",
"sass-loader": "^10.0.3",
"unplugin-vue-components": "^0.20.1",
"webpack-spritesmith": "^0.5.2"
},
"eslintConfig": {
......
......@@ -2,7 +2,7 @@ import { createRouter, createWebHistory } from "vue-router";
import routes from "./routes";
const router = createRouter({
history: createWebHistory("/miniappserver/"),
history: createWebHistory("/miniapp/"),
routes: routes.baseRoutes,
});
......
......@@ -228,57 +228,6 @@ export default defineComponent({
// 获取数据
const getData = (map) => {
currentMap = map ? map : currentMap;
let data = [
{
workOrderNo: null,
ownerName: "1111",
sn: "60907150063",
vin: "qwertyu1234567890",
shopName: null,
totalDurationString: "92 时 20 分 49 秒",
totalTimes: 1,
longitude: "114.044136",
latitude: "22.6422",
blat: "0.0",
blng: "0.0",
elat: "22.63946806924843",
elng: "114.04923654997195",
address: "广东省深圳市龙岗区利金城科技工业园",
},
{
workOrderNo: null,
ownerName: "1111",
sn: "60907150063",
vin: "qwertyu1234567890",
shopName: null,
totalDurationString: "23 时 25 分 28 秒",
totalTimes: 1,
longitude: "115.342248",
latitude: "23.698066",
blat: "0.0",
blng: "0.0",
elat: "23.695595542569368",
elng: "115.34719562698024",
address: "广东省河源市紫金县南山下",
},
{
workOrderNo: null,
ownerName: "1111",
sn: "60907150063",
vin: "qwertyu1234567890",
shopName: null,
totalDurationString: "21 时 53 分 36 秒",
totalTimes: 1,
longitude: "115.342248",
latitude: "23.69805",
blat: "0.0",
blng: "0.0",
elat: "23.69557954590615",
elng: "115.34719562590121",
address: "广东省河源市紫金县南山下",
},
];
init(currentMap, data);
GET_RESIDENT_DATA({
startTime: searchTime.value[0],
endTime: searchTime.value[1],
......
......@@ -11,7 +11,7 @@ function resolve(dir) {
return path.join(__dirname, ".", dir);
}
module.exports = defineConfig({
publicPath: "/miniappserver/",
publicPath: "/miniapp/",
transpileDependencies: true,
devServer: {
port: 9527,
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!