-
- - {{ $t('page.edit') }}
-
-
- {{ $t('page.edit') }}
-
- - {{ $t('term.deploy.noconfigauthtip') }}
-
-
-
-
+
+
+ - {{ $t('page.edit') }}
+
+
+ {{ $t('page.edit') }}
+
+ - {{ $t('term.deploy.noconfigauthtip') }}
+
+
+
+ - {{ '文本编辑' }}
+
+
- ******
+ {{ $t('page.settonull') }}
+ ******
+ {{ row.value }}
+
@@ -74,6 +80,14 @@
@close="closeAutoConfigEdit"
@save="saveAutoConfig"
>
+
import('./env-autoconfig-edit'),
+ EnvAutoconfigEditTextarea: () => import('./env-autoconfig-edit-textarea'),
EnvAutoconfigInstanceDifferenceEdit: () => import('./env-autoconfig-instance-difference-edit'), // 添加实例差异
TsTable: () => import('@/resources/components/TsTable/TsTable.vue')
},
@@ -106,6 +121,7 @@ export default {
data() {
return {
isShowEnvEdit: false,
+ isShowEnvEditForTextarea: false,
isShowEnvDifferenceEdit: false,
hasInstance: false, // 是否存在实例差异
hasAutoConfig: false,
@@ -167,8 +183,12 @@ export default {
editAutoConfig() {
this.isShowEnvEdit = true;
},
+ editAutoConfigForTextarea() {
+ this.isShowEnvEditForTextarea = true;
+ },
closeAutoConfigEdit(needRefresh) {
this.isShowEnvEdit = false;
+ this.isShowEnvEditForTextarea = false;
if (needRefresh) {
this.getEnvInfo();
}
@@ -199,7 +219,8 @@ export default {
key: v.key,
type: v.type,
value: v.hasOwnProperty('value') ? v.value : '',
- isEmpty: (!v.hasOwnProperty('value') || (v.value == '')) ? 1 : 0, // 没有value的属性,或者为空字符串,设为空打开
+ isEmpty: v.isEmpty,
+ // isEmpty: (!v.hasOwnProperty('value') || (v.value == '')) ? 1 : 0, // 没有value的属性,或者为空字符串,设为空打开
delOperation: ''
});
});