修改
This commit is contained in:
Binary file not shown.
Binary file not shown.
4
src/renderer/public/sdk/YJEarth.min.js
vendored
4
src/renderer/public/sdk/YJEarth.min.js
vendored
File diff suppressed because one or more lines are too long
@ -209,7 +209,7 @@ const routeImport = () => {
|
|||||||
filters: [
|
filters: [
|
||||||
{
|
{
|
||||||
name: '路网', //、底图
|
name: '路网', //、底图
|
||||||
extensions: ['pbf']
|
extensions: ['pbf', 'pbfl']
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@ -141,7 +141,6 @@ const activeName = ref('authorize')
|
|||||||
const isShowPup = ref(false)
|
const isShowPup = ref(false)
|
||||||
const open = (data) => {
|
const open = (data) => {
|
||||||
isShowPup.value = true
|
isShowPup.value = true
|
||||||
console.log(data, 'kkkkkkkk')
|
|
||||||
if (data !== 'current') {
|
if (data !== 'current') {
|
||||||
//如果不是传curent打开就回到第一个tab
|
//如果不是传curent打开就回到第一个tab
|
||||||
activeName.value = 'authorize'
|
activeName.value = 'authorize'
|
||||||
@ -159,7 +158,6 @@ const changeTab = (x, j) => {
|
|||||||
default:
|
default:
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
console.log(x, j, 'activeName.value')
|
|
||||||
}
|
}
|
||||||
const close = () => {
|
const close = () => {
|
||||||
isShowPup.value = false
|
isShowPup.value = false
|
||||||
|
|||||||
@ -67,6 +67,9 @@ const logout = async (e) => {
|
|||||||
// localStorage.clear()
|
// localStorage.clear()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
const openSet = () => {
|
||||||
|
setPupRef.value?.open()
|
||||||
|
}
|
||||||
|
|
||||||
const fullScreen = (item) => {
|
const fullScreen = (item) => {
|
||||||
ipcRenderer.send('toggle-fullscreen')
|
ipcRenderer.send('toggle-fullscreen')
|
||||||
@ -114,7 +117,8 @@ const setList = ref([
|
|||||||
name: 'set',
|
name: 'set',
|
||||||
className: 'header_public',
|
className: 'header_public',
|
||||||
dbcallback: null,
|
dbcallback: null,
|
||||||
callback: setShow
|
// callback: setShow
|
||||||
|
callback: openSet
|
||||||
},
|
},
|
||||||
// {id: 4, index: 2, icon: 'layerTitleBg', className: 'header_public', callback: this.setShow},
|
// {id: 4, index: 2, icon: 'layerTitleBg', className: 'header_public', callback: this.setShow},
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user