mirror of
https://gitee.com/ice-gl/icegl-three-vue-tres.git
synced 2025-04-05 06:22:43 +08:00
no message
This commit is contained in:
parent
ba61a1ba21
commit
3717ae6cb1
4
.fes.js
4
.fes.js
@ -4,7 +4,7 @@
|
||||
* @Autor: 地虎降天龙
|
||||
* @Date: 2023-10-16 10:53:09
|
||||
* @LastEditors: 地虎降天龙
|
||||
* @LastEditTime: 2025-04-03 14:00:38
|
||||
* @LastEditTime: 2025-04-03 21:14:05
|
||||
*/
|
||||
// import { resolve } from 'path';
|
||||
import { join } from 'path'
|
||||
@ -22,7 +22,7 @@ const combinedIsCustomElement = (tag) => tag.startsWith('iconify-icon') || templ
|
||||
export default defineBuildConfig({
|
||||
mountElementId: 'tvt-app',
|
||||
title: 'TvT.js',
|
||||
publicPath: './', // './' 若在线部署用于生产环境 且 是使用qiankun微前端时,需要配置base为主应用地址 https://demo.icegl.cn/tvt/
|
||||
publicPath: './', // './' 若在线部署用于生产环境 且 是使用qiankun微前端时,需要配置base为主应用地址 https://micro.icegl.cn/tvt/
|
||||
access: {
|
||||
roles: {
|
||||
admin: ['*'],
|
||||
|
@ -4,7 +4,7 @@
|
||||
* @Autor: 地虎降天龙
|
||||
* @Date: 2023-12-25 11:41:13
|
||||
* @LastEditors: 地虎降天龙
|
||||
* @LastEditTime: 2025-04-03 19:37:26
|
||||
* @LastEditTime: 2025-04-03 21:14:33
|
||||
-->
|
||||
<template>
|
||||
<TresGroup :scale="props.scale">
|
||||
@ -47,6 +47,9 @@ gridHelp.visible = props.showGridHelper
|
||||
let mapurl = props.mapUrl
|
||||
if (qiankunWindow.__POWERED_BY_QIANKUN__) {
|
||||
mapurl = process.env.BASE_URL + mapurl
|
||||
// mapurl = qiankunWindow.__INJECTED_PUBLIC_PATH_BY_QIANKUN__ + mapurl
|
||||
// console.log('qiankunWindow.__INJECTED_PUBLIC_PATH_BY_QIANKUN__', qiankunWindow.__INJECTED_PUBLIC_PATH_BY_QIANKUN__)
|
||||
// console.log('mapurl', mapurl)
|
||||
}
|
||||
const { map } = await useTexture({ map: mapurl })
|
||||
map.wrapS = RepeatWrapping
|
||||
|
Loading…
x
Reference in New Issue
Block a user