mirror of
https://gitee.com/dromara/Jpom.git
synced 2024-12-02 03:48:05 +08:00
fix
This commit is contained in:
parent
3bd56ae7b7
commit
17b2010872
@ -55,7 +55,11 @@ const reload = () => {
|
||||
})
|
||||
}
|
||||
|
||||
// 全局 loading
|
||||
const globalLoading = () => {}
|
||||
|
||||
provide('reload', reload)
|
||||
provide('globalLoading', globalLoading)
|
||||
</script>
|
||||
|
||||
<style lang="less">
|
||||
|
@ -84,7 +84,7 @@
|
||||
|
||||
<a-row>
|
||||
<a-col span="22">
|
||||
<a-space direction="vertical">
|
||||
<a-space direction="vertical" style="width: 100%">
|
||||
<a-upload
|
||||
:file-list="fileList"
|
||||
:disabled="!!percentage"
|
||||
|
3
web-vue/src/d.ts/components.d.ts
vendored
3
web-vue/src/d.ts/components.d.ts
vendored
@ -82,11 +82,13 @@ declare module 'vue' {
|
||||
ATypographyParagraph: typeof import('ant-design-vue/es')['TypographyParagraph']
|
||||
AUpload: typeof import('ant-design-vue/es')['Upload']
|
||||
BarsOutlined: typeof import('@ant-design/icons-vue')['BarsOutlined']
|
||||
BlockOutlined: typeof import('@ant-design/icons-vue')['BlockOutlined']
|
||||
CheckCircleOutlined: typeof import('@ant-design/icons-vue')['CheckCircleOutlined']
|
||||
CheckOutlined: typeof import('@ant-design/icons-vue')['CheckOutlined']
|
||||
CloseOutlined: typeof import('@ant-design/icons-vue')['CloseOutlined']
|
||||
CloudDownloadOutlined: typeof import('@ant-design/icons-vue')['CloudDownloadOutlined']
|
||||
CloudOutlined: typeof import('@ant-design/icons-vue')['CloudOutlined']
|
||||
CloudServerOutlined: typeof import('@ant-design/icons-vue')['CloudServerOutlined']
|
||||
ClusterOutlined: typeof import('@ant-design/icons-vue')['ClusterOutlined']
|
||||
CodeEditor: typeof import('./../components/codeEditor/index.vue')['default']
|
||||
CodeOutlined: typeof import('@ant-design/icons-vue')['CodeOutlined']
|
||||
@ -128,6 +130,7 @@ declare module 'vue' {
|
||||
ProfileOutlined: typeof import('@ant-design/icons-vue')['ProfileOutlined']
|
||||
PushpinOutlined: typeof import('@ant-design/icons-vue')['PushpinOutlined']
|
||||
QuestionCircleOutlined: typeof import('@ant-design/icons-vue')['QuestionCircleOutlined']
|
||||
ReadOutlined: typeof import('@ant-design/icons-vue')['ReadOutlined']
|
||||
RedoOutlined: typeof import('@ant-design/icons-vue')['RedoOutlined']
|
||||
ReloadOutlined: typeof import('@ant-design/icons-vue')['ReloadOutlined']
|
||||
RestOutlined: typeof import('@ant-design/icons-vue')['RestOutlined']
|
||||
|
@ -66,7 +66,7 @@
|
||||
<a-divider v-if="listQuery.total > 0" dashed>构建历史</a-divider>
|
||||
<a-timeline mode="alternate" style="width: 100%">
|
||||
<a-timeline-item v-for="item in this.historyList" :key="item.id" :color="statusColor[item.status]">
|
||||
<a-space direction="vertical">
|
||||
<a-space direction="vertical" style="width: 100%">
|
||||
<div>
|
||||
<a-space>
|
||||
<span :style="`color: ${statusColor[item.status]};`" @click="handleBuildLog(item)"
|
||||
|
@ -153,7 +153,7 @@
|
||||
</template>
|
||||
<a-popover title="辅助操作">
|
||||
<template v-slot:content>
|
||||
<a-space direction="vertical">
|
||||
<a-space direction="vertical" style="width: 100%">
|
||||
<a-button
|
||||
type="link"
|
||||
@click="
|
||||
@ -222,7 +222,7 @@
|
||||
<a-tab-pane key="1" tab="DSL 配置">
|
||||
<div style="height: 40vh">
|
||||
<code-editor
|
||||
v-model:value="temp.script"
|
||||
v-model:content="temp.script"
|
||||
:options="{ mode: 'yaml', tabSize: 2, theme: 'abcdef' }"
|
||||
></code-editor>
|
||||
</div>
|
||||
@ -230,7 +230,7 @@
|
||||
<a-tab-pane key="2" tab="配置示例">
|
||||
<div style="height: 40vh">
|
||||
<code-editor
|
||||
v-model:value="dslDefault"
|
||||
v-model:content="dslDefault"
|
||||
:options="{
|
||||
mode: 'yaml',
|
||||
tabSize: 2,
|
||||
|
@ -34,7 +34,7 @@
|
||||
<!-- 表格 -->
|
||||
<a-layout-content class="file-content">
|
||||
<div class="log-filter" v-if="temp.cacheData">
|
||||
<a-space direction="vertical">
|
||||
<a-space direction="vertical" style="width: 100%">
|
||||
<!-- direction="vertical" -->
|
||||
<a-space>
|
||||
<div>
|
||||
|
@ -34,7 +34,7 @@
|
||||
<div class="layui-elem-quote">
|
||||
集群信息:
|
||||
<div style="padding-left: 10px">
|
||||
<a-space direction="vertical">
|
||||
<a-space direction="vertical" style="width: 100%">
|
||||
<div>
|
||||
本地状态:<a-tag v-if="temp.swarm.nodeAddr">{{ temp.swarm.nodeAddr }}</a-tag>
|
||||
<a-tag>{{ temp.swarm.localNodeState }}</a-tag>
|
||||
|
@ -61,7 +61,7 @@
|
||||
@close="clearPullFastInstallResult(item.id)"
|
||||
>
|
||||
<template v-slot:description>
|
||||
<a-space direction="vertical">
|
||||
<a-space direction="vertical" style="width: 100%">
|
||||
<div v-if="item.type === 'canUseIpEmpty'">
|
||||
<a-tag color="orange">不能和节点正常通讯</a-tag>
|
||||
</div>
|
||||
|
@ -403,7 +403,7 @@
|
||||
</a-tooltip>
|
||||
</template>
|
||||
<a-tab-pane key="1" tab="执行">
|
||||
<a-space direction="vertical">
|
||||
<a-space direction="vertical" style="width: 100%">
|
||||
<a-alert message="温馨提示" type="warning">
|
||||
<template v-slot:description>
|
||||
<ul>
|
||||
@ -494,7 +494,7 @@
|
||||
@ok="migrateWorkspaceOk"
|
||||
:maskClosable="false"
|
||||
>
|
||||
<a-space direction="vertical">
|
||||
<a-space direction="vertical" style="width: 100%">
|
||||
<a-alert message="温馨提示" type="warning" show-icon>
|
||||
<template v-slot:description>
|
||||
项目可能支持关联如下数据:
|
||||
|
@ -191,7 +191,7 @@
|
||||
:maskClosable="false"
|
||||
>
|
||||
<a-form ref="editForm" :rules="rules" :model="temp" :label-col="{ span: 4 }" :wrapper-col="{ span: 18 }">
|
||||
<a-space direction="vertical">
|
||||
<a-space direction="vertical" style="width: 100%">
|
||||
<a-alert banner>
|
||||
<template v-slot:message>
|
||||
<template v-if="temp.enableSsh">
|
||||
|
@ -19,7 +19,7 @@
|
||||
rowKey="id"
|
||||
>
|
||||
<template #title>
|
||||
<a-space direction="vertical">
|
||||
<a-space direction="vertical" style="width: 100%">
|
||||
<div>
|
||||
<template v-for="(val, key) in groupMap" :key="key">
|
||||
<span>{{ key }}:</span>
|
||||
|
@ -69,7 +69,7 @@
|
||||
</a-tooltip>
|
||||
</template>
|
||||
<a-form-item-rest>
|
||||
<a-space direction="vertical">
|
||||
<a-space direction="vertical" style="width: 100%">
|
||||
<div v-for="(item, index) in temp.prohibitExecuteArray" :key="item.key">
|
||||
<a-space direction="vertical" class="item-info" style="width: 100%">
|
||||
<a-range-picker
|
||||
@ -139,7 +139,7 @@
|
||||
</a-tooltip>
|
||||
</template>
|
||||
<a-form-item-rest>
|
||||
<a-space direction="vertical">
|
||||
<a-space direction="vertical" style="width: 100%">
|
||||
<div v-for="(item, index) in temp.allowExecuteArray" :key="item.key">
|
||||
<a-space direction="vertical" class="item-info" style="width: 100%">
|
||||
<div>
|
||||
|
Loading…
Reference in New Issue
Block a user