@ledvance/base 1.1.35 → 1.1.36
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.
- package/package.json +1 -1
- package/src/utils/common.ts +1 -1
package/package.json
CHANGED
package/src/utils/common.ts
CHANGED
|
@@ -106,7 +106,7 @@ export const localeNumber = (v: number | string, fixed?: number) => {
|
|
|
106
106
|
// 导出文件
|
|
107
107
|
export const exportFile = (list) => {
|
|
108
108
|
const value = list?.map(item => {
|
|
109
|
-
return [item?.key
|
|
109
|
+
return [item?.key, item?.value]
|
|
110
110
|
})
|
|
111
111
|
const data = [
|
|
112
112
|
['Date', `${I18n.getLang('consumption_data_annual_bar_chart_system_back_text')} (kWh)`],
|