|
@@ -18,6 +18,16 @@
|
|
|
@size-change="sizeChange"
|
|
|
@refresh-change="refreshChange"
|
|
|
@on-load="onLoad">
|
|
|
+ <template slot="transformEndpointLabel">
|
|
|
+ <el-tooltip class="item"
|
|
|
+ effect="dark"
|
|
|
+ content="资源地址设置为内网上传,则外部访问需要配置外网映射地址"
|
|
|
+ placement="top-start">
|
|
|
+ <i class="el-icon-warning"></i>
|
|
|
+ </el-tooltip>
|
|
|
+ <span>外网地址:</span>
|
|
|
+
|
|
|
+ </template>
|
|
|
<template slot="menuLeft">
|
|
|
<el-button type="danger"
|
|
|
size="small"
|
|
@@ -141,8 +151,7 @@
|
|
|
label: "外网地址",
|
|
|
prop: "transformEndpoint",
|
|
|
span: 24,
|
|
|
- hide: true,
|
|
|
- display: false,
|
|
|
+
|
|
|
},
|
|
|
{
|
|
|
label: "空间名",
|
|
@@ -252,15 +261,10 @@
|
|
|
item.display = category === 4;
|
|
|
}
|
|
|
if (item.prop === "region") {
|
|
|
- item.display = category === 4;
|
|
|
- item.display = category === 5;
|
|
|
- }
|
|
|
- if (item.prop === "transformEndpoint") {
|
|
|
- item.display = category === 4;
|
|
|
- item.display = category === 5;
|
|
|
- item.display = category === 6;
|
|
|
- item.display = category === 7;
|
|
|
+ item.display =(category === 4 || category === 5);
|
|
|
+
|
|
|
}
|
|
|
+
|
|
|
});
|
|
|
},
|
|
|
'debugForm.code'() {
|