@ecan-bi/tools 1.0.28 → 1.0.29
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/indicator.ts +2 -2
package/package.json
CHANGED
package/src/indicator.ts
CHANGED
|
@@ -883,12 +883,12 @@ export const formatIndicatorParams = (props: any, otherParams: any = {}) => {
|
|
|
883
883
|
})
|
|
884
884
|
|
|
885
885
|
let indicatorsData = indicators
|
|
886
|
-
console.log('otherParams?.pivotTableCal', otherParams?.pivotTableCal)
|
|
887
886
|
if (otherParams?.pivotTableCal) {
|
|
888
887
|
// 透视表全设计模式,替换设计态拖拽的指标
|
|
889
888
|
indicatorsData = otherParams.pivotTableCal?.indicators || []
|
|
889
|
+
// @ts-ignore
|
|
890
|
+
window.logFunc && window.logFunc(indicatorsData)
|
|
890
891
|
}
|
|
891
|
-
console.log('indicatorsData', indicatorsData)
|
|
892
892
|
indicatorsData?.forEach((indicator: { [key:string]: any }) => {
|
|
893
893
|
indicator.location = 'LEFT'
|
|
894
894
|
indicatorList.push(handleIndicator(indicator, classification))
|