component-shipinlv 1.1.3 → 1.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -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' : ''),
|