component-shipinlv 1.1.18 → 1.1.19

Sign up to get free protection for your applications and to get access to all the features.
@@ -32,5 +32,6 @@
32
32
  }
33
33
 
34
34
  .addGroup{
35
+ padding: 0 0 20px 0;
35
36
  }
36
37
  }
@@ -44,6 +44,9 @@ var VideoPublishTaskVideoTopicSelect = function VideoPublishTaskVideoTopicSelect
44
44
  onSelect(values.topicGroupId, values.topicCount);
45
45
  };
46
46
  var onCreateTopic = function onCreateTopic() {
47
+ if (disabled) {
48
+ return;
49
+ }
47
50
  var dialog = Tool.drawer({
48
51
  title: '',
49
52
  content: /*#__PURE__*/_jsx(VideoPublishTaskVideoTopic, {
@@ -65,6 +68,7 @@ var VideoPublishTaskVideoTopicSelect = function VideoPublishTaskVideoTopicSelect
65
68
  onClick: function onClick() {
66
69
  return onCreateTopic();
67
70
  },
71
+ className: disabled ? 'disabled' : '',
68
72
  children: "\u7F16\u8F91\u8BDD\u9898"
69
73
  }),
70
74
  className: "videoPublishTaskVideoTopicSelect",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "component-shipinlv",
3
- "version": "1.1.18",
3
+ "version": "1.1.19",
4
4
  "description": "",
5
5
  "module": "dist/index.js",
6
6
  "types": "dist/index.d.ts",