plain-design 1.0.0-beta.37 → 1.0.0-beta.39
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/plain-design.commonjs.min.js +1 -1
- package/dist/plain-design.min.css +7 -7
- package/dist/plain-design.min.js +1 -1
- package/dist/report.html +2 -2
- package/package.json +1 -1
- package/src/packages/components/Alert/alert.scss +2 -2
- package/src/packages/components/Application/theme/theme.ts +1 -0
- package/src/packages/components/AutoTable/filter/useTableOption.filter.form.tsx +1 -0
- package/src/packages/components/Button/button.scss +1 -1
- package/src/packages/components/Card/card.scss +1 -1
- package/src/packages/components/FilterFormMultiple/index.tsx +31 -10
- package/src/packages/components/Input/index.scss +2 -2
- package/src/packages/components/InputNumber/number.scss +10 -1
- package/src/packages/components/StackCard/index.tsx +236 -80
- package/src/packages/components/StackCard/stack-card.scss +12 -0
- package/src/packages/components/StackCardItem/index.tsx +2 -1
- package/src/packages/components/Table/table/body/useCellValue.tsx +10 -6
- package/src/packages/components/useNotice/notice.scss +1 -1
@@ -84,13 +84,17 @@ export function useCellValue(
|
|
84
84
|
};
|
85
85
|
(async () => {
|
86
86
|
try {
|
87
|
+
const sv = sourceValue.value;
|
88
|
+
const sr = row.value;
|
87
89
|
const value = await asyncFormatterFunction(sourceValue.value, { ...cellRenderScope, ...formatterOptions });
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
90
|
+
if (sv === sourceValue.value && sr === row.value) {
|
91
|
+
asyncState.asyncValue = {
|
92
|
+
sourceValue: sourceValue.value,
|
93
|
+
row: row.value,
|
94
|
+
targetValue: value,
|
95
|
+
loading: false,
|
96
|
+
};
|
97
|
+
}
|
94
98
|
} catch (e) {
|
95
99
|
/*异步格式化失败*/
|
96
100
|
console.error(e);
|