component-shipinlv 1.1.3 → 1.1.5
Sign up to get free protection for your applications and to get access to all the features.
@@ -142,7 +142,7 @@ var VideoPublishCreateTaskBase = function VideoPublishCreateTaskBase(_ref) {
|
|
142
142
|
message: '请选择账户'
|
143
143
|
}],
|
144
144
|
children: /*#__PURE__*/_jsx(TreeSelect, {
|
145
|
-
disabled: loadingAccountList,
|
145
|
+
disabled: loadingAccountList || treeVideoAccountData.length === 0,
|
146
146
|
treeData: treeVideoAccountData
|
147
147
|
// value={ [] }
|
148
148
|
,
|
@@ -151,7 +151,7 @@ var VideoPublishCreateTaskBase = function VideoPublishCreateTaskBase(_ref) {
|
|
151
151
|
},
|
152
152
|
treeCheckable: !loadingAccountList,
|
153
153
|
showCheckedStrategy: TreeSelect.SHOW_PARENT,
|
154
|
-
placeholder:
|
154
|
+
placeholder: treeVideoAccountData.length === 0 ? '账户列表为空,请先添加账户' : '请选择 账户/组'
|
155
155
|
})
|
156
156
|
}), /*#__PURE__*/_jsx("a", {
|
157
157
|
className: "renew ".concat(loadingAccountList ? 'disabled' : ''),
|