@lemon-fe/kits 1.0.0-198 → 1.0.0-199
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.
|
@@ -131,9 +131,11 @@ function EmptyOverlay(props) {
|
|
|
131
131
|
var err = useGridStore(function (state) {
|
|
132
132
|
return state.fetchError;
|
|
133
133
|
});
|
|
134
|
+
var _props$desc = props.desc,
|
|
135
|
+
desc = _props$desc === void 0 ? '暂无数据' : _props$desc;
|
|
134
136
|
return /*#__PURE__*/React.createElement("div", {
|
|
135
137
|
className: prefix('empty-overlay')
|
|
136
|
-
}, err ? err.message :
|
|
138
|
+
}, err ? err.message : desc, "~");
|
|
137
139
|
}
|
|
138
140
|
|
|
139
141
|
var DataGrid = /*#__PURE__*/function (_Component) {
|