@ -13648,7 +13648,7 @@ var resetmodules = __webpack_require__(14661);
var Option = es _select [ "default" ] . Option ;
var MAX _COUNT = 3 ;
var Environment = function Environment ( _ref ) {
var _cloudList$find , _mirror _repository$ch , _mirror _repository$sh2 , _mirror _repository$sh3 , _mirror _repository$sh4 , _mirror _repository$sh5 , _ network_mode _list$fi , _mirrorItems$Number2 ;
var _cloudList$find , _mirror _repository$ch , _mirror _repository$sh2 , _mirror _repository$sh3 , _mirror _repository$sh4 , _mirror _repository$sh5 , _ boosters$find, _ network_mode _list$fi , _mirrorItems$Number2 ;
var practiceSetting = _ref . practiceSetting ,
dispatch = _ref . dispatch ,
shixunsDetail = _ref . shixunsDetail ,
@ -13687,7 +13687,9 @@ var Environment = function Environment(_ref) {
_data$new _service _con = data . new _service _configs ,
new _service _configs = _data$new _service _con === void 0 ? [ ] : _data$new _service _con ,
_data$network _mode _li = data . network _mode _list ,
network _mode _list = _data$network _mode _li === void 0 ? [ ] : _data$network _mode _li ;
network _mode _list = _data$network _mode _li === void 0 ? [ ] : _data$network _mode _li ,
_data$boosters = data . boosters ,
boosters = _data$boosters === void 0 ? [ ] : _data$boosters ;
var _useState11 = ( 0 , _react _17 _0 _2 _react . useState ) ( '' ) ,
_useState12 = slicedToArray _default ( ) ( _useState11 , 2 ) ,
error = _useState12 [ 0 ] ,
@ -14610,7 +14612,8 @@ var Environment = function Environment(_ref) {
shixun _service _configs : value . shixun _service _configs || [ ] ,
description : value . description
} ) ,
small _type : value . small _type
small _type : value . small _type ,
boosters : ( value === null || value === void 0 ? void 0 : value . boosters ) || [ ]
} ) ;
if ( superTabs === 0 ) {
setPublicMirrorInfo ( cloneData === null || cloneData === void 0 ? void 0 : cloneData . mirror _repository ) ;
@ -15295,8 +15298,8 @@ var Environment = function Environment(_ref) {
children : [ "\u9AD8\u7EA7\u8BBE\u7F6E" , /*#__PURE__*/ ( 0 , jsx _runtime . jsx ) ( "i" , {
className : "iconfont " . concat ( expand ? 'icon-shouqi4' : 'icon-a-xialazhankai' )
} ) ]
} ) , expand && /*#__PURE__*/ ( 0 , jsx _runtime . jsx ) ( _react _17 _0 _2 _react . Fragment , {
children : /*#__PURE__*/ ( 0 , jsx _runtime . jsx ) ( Label /* default */ . Z , {
} ) , expand && /*#__PURE__*/ ( 0 , jsx _runtime . jsx s ) ( _react _17 _0 _2 _react . Fragment , {
children : [ /*#__PURE__*/ ( 0 , jsx _runtime . jsx ) ( Label /* default */ . Z , {
required : true ,
name : "\u955C\u50CF\u914D\u7F6E" ,
align : "start" ,
@ -15643,7 +15646,33 @@ var Environment = function Environment(_ref) {
} )
} ) ]
} )
} )
} ) , /*#__PURE__*/ ( 0 , jsx _runtime . jsx ) ( Label /* default */ . Z , {
name : "\u663E\u5361\u7C7B\u578B" ,
align : "center" ,
children : /*#__PURE__*/ ( 0 , jsx _runtime . jsx ) ( es _select [ "default" ] , {
disabled : true ,
value : boosters === null || boosters === void 0 || ( _boosters$find = boosters . find ( function ( item ) {
return item . checked ;
} ) ) === null || _boosters$find === void 0 ? void 0 : _boosters$find . id ,
placeholder : "" ,
fieldNames : {
label : 'title' ,
value : 'id'
} ,
bordered : false ,
options : boosters ,
getPopupContainer : function getPopupContainer ( trigger ) {
return trigger . parentNode ;
} ,
style : {
minWidth : 400 ,
backgroundColor : '#f5f5f5' ,
height : 50 ,
borderRadius : 4 ,
paddingTop : 10
}
} )
} ) ]
} ) ]
} ) ]
} ) , ( shixun _environment === null || shixun _environment === void 0 ? void 0 : shixun _environment . resource _type ) === 2 && /*#__PURE__*/ ( 0 , jsx _runtime . jsxs ) ( _react _17 _0 _2 _react . Fragment , {