@titaui/pc 1.12.70 → 1.12.72

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.
@@ -108,6 +108,14 @@ function SearchForm(props) {
108
108
 
109
109
  var dilagRef = (0, _react.useRef)(document.createElement("div"));
110
110
  (0, _react.useEffect)(function () {
111
+ var relations = [];
112
+
113
+ if (Number(relation) === 0) {
114
+ relations.push.apply(relations, [1, 2]);
115
+ } else {
116
+ relations.push(Number(relation));
117
+ }
118
+
111
119
  onChange(_objectSpread({
112
120
  okrType: okrType,
113
121
  status: 0,
@@ -115,7 +123,8 @@ function SearchForm(props) {
115
123
  return "".concat(res).concat(index === 0 ? "" : ",").concat(cur.userId);
116
124
  }, ""),
117
125
  keyWords: keyWords,
118
- relation: relation,
126
+ relation: 0,
127
+ relations: relations,
119
128
  okrClassify: classify
120
129
  }, cycle));
121
130
  }, [okrType, users, keyWords, cycle, relation, classify]);
@@ -105,7 +105,7 @@ var DemoMenuData = /*#__PURE__*/function () {
105
105
  label: "公海资源",
106
106
  key: "customer",
107
107
  href: "#/demofree/customer/public",
108
- isShow: this.isManager === EManagerType.ReCharge || this.isManager === EManagerType.Manager,
108
+ isShow: true,
109
109
  children: [{
110
110
  icon: "",
111
111
  label: "全部客户",
@@ -30,8 +30,8 @@
30
30
 
31
31
  .titaui-rich-editor-at-avatar__delete-wrapper {
32
32
  position: absolute;
33
- top: -4px;
34
- right: 0;
33
+ top: -2px;
34
+ right: -2px;
35
35
  z-index: 1;
36
36
  width: 20px;
37
37
  height: 20px;
@@ -46,7 +46,7 @@
46
46
 
47
47
  .titaui-rich-editor-at-avatar__delete-wrapper:hover {
48
48
  cursor: pointer;
49
- color: #f05e5e;
49
+ color: #fff;
50
50
  }
51
51
 
52
52
  .titaui-rich-editor-at-avatar--enter {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@titaui/pc",
3
- "version": "1.12.70",
3
+ "version": "1.12.72",
4
4
  "nameCN": "",
5
5
  "description": "",
6
6
  "main": "lib/index.js",