mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-10-20 12:27:18 +08:00
22 lines
528 B
Vue
22 lines
528 B
Vue
<template>
|
|
<div v-if="row.port != ''">
|
|
<span v-for="(port, index) in row.exposedPorts" :key="index">
|
|
<el-button icon="Position" plain size="small" @click="jump(port.hostPort, 'http')">
|
|
{{ port.hostIP }}:{{ port.hostPort }}->{{ port.containerPort }}
|
|
</el-button>
|
|
</span>
|
|
</div>
|
|
</template>
|
|
|
|
<script setup>
|
|
defineProps({
|
|
row: {
|
|
type: Object,
|
|
required: true,
|
|
},
|
|
jump: {
|
|
type: Function,
|
|
required: true,
|
|
},
|
|
});
|
|
</script>
|