@cmstops/pro-compo 0.3.95 → 0.3.97
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.
|
@@ -21,7 +21,7 @@ const TAB_DICT = {
|
|
|
21
21
|
["remind"]: { title: "\u63D0\u9192\u6211\u7684", component: _sfc_main },
|
|
22
22
|
["local"]: { title: "\u672C\u5730\u7D20\u6750", component: _sfc_main$1 },
|
|
23
23
|
["system"]: { title: "\u5185\u7F6E\u7D20\u6750", component: _sfc_main$2 },
|
|
24
|
-
["ai"]: { title: "
|
|
24
|
+
["ai"]: { title: "\u6B63\u6587\u7D20\u6750", component: _sfc_main$3 },
|
|
25
25
|
["video"]: { title: "\u89C6\u9891\u5C01\u9762", component: _sfc_main$4 }
|
|
26
26
|
};
|
|
27
27
|
function useTabFilter(props) {
|
package/es/utils/index.js
CHANGED
|
@@ -34,7 +34,7 @@ function replaceSuffix(str, insert) {
|
|
|
34
34
|
return match ? str.replace(reg, insert + match) : str + insert;
|
|
35
35
|
}
|
|
36
36
|
const noCoverText = (item) => {
|
|
37
|
-
const text = item.alias || item.title;
|
|
37
|
+
const text = item.alias || item.title || "\u65E0\u56FE";
|
|
38
38
|
return text.substring(0, 2);
|
|
39
39
|
};
|
|
40
40
|
const timeFormat = (value) => {
|
|
@@ -23,7 +23,7 @@ const TAB_DICT = {
|
|
|
23
23
|
["remind"]: { title: "\u63D0\u9192\u6211\u7684", component: index },
|
|
24
24
|
["local"]: { title: "\u672C\u5730\u7D20\u6750", component: index$1 },
|
|
25
25
|
["system"]: { title: "\u5185\u7F6E\u7D20\u6750", component: index$2 },
|
|
26
|
-
["ai"]: { title: "
|
|
26
|
+
["ai"]: { title: "\u6B63\u6587\u7D20\u6750", component: index$3 },
|
|
27
27
|
["video"]: { title: "\u89C6\u9891\u5C01\u9762", component: index$4 }
|
|
28
28
|
};
|
|
29
29
|
function useTabFilter(props) {
|
package/lib/utils/index.js
CHANGED
|
@@ -41,7 +41,7 @@ function replaceSuffix(str, insert) {
|
|
|
41
41
|
return match ? str.replace(reg, insert + match) : str + insert;
|
|
42
42
|
}
|
|
43
43
|
const noCoverText = (item) => {
|
|
44
|
-
const text = item.alias || item.title;
|
|
44
|
+
const text = item.alias || item.title || "\u65E0\u56FE";
|
|
45
45
|
return text.substring(0, 2);
|
|
46
46
|
};
|
|
47
47
|
const timeFormat = (value) => {
|