优化本地节点详情页工具栏
This commit is contained in:
parent
cb39b45b62
commit
65b8e671a4
@ -78,25 +78,6 @@
|
||||
{{ t('Publish to Marketplace') }}
|
||||
</n-button>
|
||||
|
||||
<!-- Schema 编辑器模态框 -->
|
||||
<SchemaEditorModal
|
||||
v-model:visible="showSchemaEditor"
|
||||
:node-type="nodeRecord.node_type || ''"
|
||||
:node-name="nodeName"
|
||||
:initial-schema="nodeRecord.node_schema || {}"
|
||||
:on-save="handleSchemaSave"
|
||||
@close="showSchemaEditor = false"
|
||||
/>
|
||||
|
||||
<!-- 发布进度弹窗 -->
|
||||
<PublishProgressModal
|
||||
v-model="showPublishModal"
|
||||
:title="t('Publishing to Node Marketplace')"
|
||||
:steps="publishSteps"
|
||||
:status="publishStatus"
|
||||
@retry="showPublishConfirmDialog"
|
||||
/>
|
||||
|
||||
<!-- 返回按钮 -->
|
||||
<n-button type="default" size="medium" @click="$emit('go-back')" :disabled="loading">
|
||||
<template #icon>
|
||||
@ -122,6 +103,26 @@
|
||||
{{ t('Save') }}
|
||||
</n-button>
|
||||
</n-space>
|
||||
|
||||
<!-- Schema 编辑器模态框 -->
|
||||
<SchemaEditorModal
|
||||
v-model:visible="showSchemaEditor"
|
||||
:node-type="nodeRecord.node_type || ''"
|
||||
:node-name="nodeName"
|
||||
:initial-schema="nodeRecord.node_schema || {}"
|
||||
:on-save="handleSchemaSave"
|
||||
@close="showSchemaEditor = false"
|
||||
/>
|
||||
|
||||
<!-- 发布进度弹窗 -->
|
||||
<PublishProgressModal
|
||||
v-model="showPublishModal"
|
||||
:title="t('Publishing to Node Marketplace')"
|
||||
:steps="publishSteps"
|
||||
:status="publishStatus"
|
||||
@retry="showPublishConfirmDialog"
|
||||
/>
|
||||
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
|
||||
@ -47,7 +47,7 @@ export default defineConfig(({ mode, command }) => {
|
||||
const env = loadEnv(mode, process.cwd(), '')
|
||||
const BACKEND_URL = env.VITE_BACKEND_SERVER_URL || 'http://localhost:9001'
|
||||
const FRONTEND_HOST = env.VITE_FRONTEND_HOST || '0.0.0.0'
|
||||
const FRONTEND_PORT = Number(env.VITE_FRONTEND_PORT) || 3100
|
||||
const FRONTEND_PORT = Number(env.VITE_FRONTEND_PORT) || 3001
|
||||
const ALLOWED_HOSTS = (env.VITE_ALLOWED_HOSTS || '').split(',').map((s) => s.trim()).filter(Boolean)
|
||||
|
||||
// 开发环境:文件目录路径
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user