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: "\u8BF7\u9009\u62E9 \u8D26\u6237/\u7EC4"
154
+ placeholder: treeVideoAccountData.length === 0 ? '账户列表为空,请先添加账户' : '请选择 账户/组'
155
155
  })
156
156
  }), /*#__PURE__*/_jsx("a", {
157
157
  className: "renew ".concat(loadingAccountList ? 'disabled' : ''),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "component-shipinlv",
3
- "version": "1.1.3",
3
+ "version": "1.1.5",
4
4
  "description": "",
5
5
  "module": "dist/index.js",
6
6
  "types": "dist/index.d.ts",