mirror of
https://gitee.com/ice-gl/icegl-three-vue-tres.git
synced 2025-04-05 06:22:43 +08:00
去除编译模式下的 两个菜单默认获取的 调用
This commit is contained in:
parent
d430886b89
commit
bd340bd2fe
@ -4,7 +4,7 @@
|
|||||||
* @Autor: 地虎降天龙
|
* @Autor: 地虎降天龙
|
||||||
* @Date: 2023-10-16 10:53:09
|
* @Date: 2023-10-16 10:53:09
|
||||||
* @LastEditors: 地虎降天龙
|
* @LastEditors: 地虎降天龙
|
||||||
* @LastEditTime: 2024-08-11 18:02:39
|
* @LastEditTime: 2025-02-08 08:50:30
|
||||||
*/
|
*/
|
||||||
import { defineRuntimeConfig, useModel } from '@fesjs/fes'
|
import { defineRuntimeConfig, useModel } from '@fesjs/fes'
|
||||||
import { FMenu } from '@fesjs/fes-design'
|
import { FMenu } from '@fesjs/fes-design'
|
||||||
@ -33,7 +33,7 @@ export default defineRuntimeConfig({
|
|||||||
action () {
|
action () {
|
||||||
const { signin, getMenu } = useModel('forPreview')
|
const { signin, getMenu } = useModel('forPreview')
|
||||||
signin()
|
signin()
|
||||||
if (process.env.FES_APP_PLUGINS === 'true') {
|
if (process.env.FES_APP_PLUGINS === 'true' && process.env.NODE_ENV === 'development') {
|
||||||
getMenu()
|
getMenu()
|
||||||
}
|
}
|
||||||
// return new Promise((resolve) => {
|
// return new Promise((resolve) => {
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
* @Autor: 地虎降天龙
|
* @Autor: 地虎降天龙
|
||||||
* @Date: 2023-11-18 22:17:49
|
* @Date: 2023-11-18 22:17:49
|
||||||
* @LastEditors: 地虎降天龙
|
* @LastEditors: 地虎降天龙
|
||||||
* @LastEditTime: 2024-12-03 11:52:27
|
* @LastEditTime: 2025-02-08 08:52:49
|
||||||
-->
|
-->
|
||||||
<template>
|
<template>
|
||||||
<div class="absolute menuSelf">
|
<div class="absolute menuSelf">
|
||||||
@ -111,7 +111,7 @@
|
|||||||
<div class="flex absolute" style="left: 1px; flex-direction: column; top: 2px">
|
<div class="flex absolute" style="left: 1px; flex-direction: column; top: 2px">
|
||||||
<f-badge value="free" class="tag-fbdge afree-tag" type="success" size="small" v-if="onePlugin.tvtstore === 'FREE'" />
|
<f-badge value="free" class="tag-fbdge afree-tag" type="success" size="small" v-if="onePlugin.tvtstore === 'FREE'" />
|
||||||
</div>
|
</div>
|
||||||
<div class="flex absolute" style="top: 3px;right: 30px;">
|
<div class="flex absolute" style="top: 3px; right: 30px">
|
||||||
<f-badge :value="onePlugin.version" class="tag-fbdge" type="primary" size="small" />
|
<f-badge :value="onePlugin.version" class="tag-fbdge" type="primary" size="small" />
|
||||||
</div>
|
</div>
|
||||||
<span class="left-m-text">{{ onePlugin.title }}</span>
|
<span class="left-m-text">{{ onePlugin.title }}</span>
|
||||||
@ -179,7 +179,9 @@ const menuGoto = (value: any) => {
|
|||||||
const tabListRef = ref([])
|
const tabListRef = ref([])
|
||||||
const pluginsConfig = ref({})
|
const pluginsConfig = ref({})
|
||||||
pluginsConfig.value = getPluginsConfig() as any
|
pluginsConfig.value = getPluginsConfig() as any
|
||||||
getOnlinePluginConfig(pluginsConfig)
|
if (process.env.NODE_ENV === 'development') {
|
||||||
|
getOnlinePluginConfig(pluginsConfig)
|
||||||
|
}
|
||||||
const goto = (value: string) => {
|
const goto = (value: string) => {
|
||||||
if (value.value === 'tvtPluginUrl') {
|
if (value.value === 'tvtPluginUrl') {
|
||||||
window.open('https://www.icegl.cn/tvtstore', '_blank')
|
window.open('https://www.icegl.cn/tvtstore', '_blank')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user