feat: 3d模型
This commit is contained in:
@@ -51,4 +51,15 @@ export default {
|
||||
nodeModulesTransform: { type: 'none' },
|
||||
mfsu: false,
|
||||
fastRefresh: {},
|
||||
// Cesium 静态资源配置
|
||||
chainWebpack: (config: any) => {
|
||||
// 配置 Cesium 资源路径
|
||||
config.plugin('define').tap((definitions: any) => {
|
||||
Object.assign(definitions[0], {
|
||||
'process.env.CESIUM_BASE_URL': JSON.stringify(isDev ? '/' : (APP_BASE.endsWith('/') ? APP_BASE : APP_BASE + '/')),
|
||||
});
|
||||
return definitions;
|
||||
});
|
||||
return config;
|
||||
},
|
||||
} as any;
|
||||
|
||||
@@ -32,6 +32,8 @@ export default [
|
||||
{ path: '/orders/editTask.html', component: '@/pages/orders/EditTask' },
|
||||
{ path: '/orders/wxMessage.html', component: '@/pages/orders/WxMessage' },
|
||||
{ path: '/orders/coupon.html', component: '@/pages/orders/Coupon' },
|
||||
// 导游管理模块(包含导游列表、佣金明细、提现审核)
|
||||
{ path: '/orders/guide.html', component: '@/pages/orders/Guide' },
|
||||
],
|
||||
},
|
||||
{
|
||||
@@ -39,6 +41,8 @@ export default [
|
||||
routes: [
|
||||
{ path: '/device/wayline.html', component: '@/pages/device/Wayline' },
|
||||
{ path: '/device/device.html', component: '@/pages/device/Device' },
|
||||
// 3D模型管理
|
||||
{ path: '/device/3dModel.html', name: '3D模型管理', component: '@/pages/device/ThreeDModel' },
|
||||
// 景区地图仪表盘
|
||||
{ path: '/device/mapDashboard.html', name: '地图仪表盘', component: '@/pages/device/mapDashboard', exact: true },
|
||||
{ path: '/device/mapDashboard/tourismDeviceDetail/:tourismId', component: '@/pages/device/mapDashboard/TourismDeviceDetail' },
|
||||
|
||||
Reference in New Issue
Block a user