|
|
@ -1,4 +1,4 @@ |
|
|
|
import { shortcut, Widget } from "@/core"; |
|
|
|
import { shortcut, Widget, map, extend } from "@/core"; |
|
|
|
|
|
|
|
|
|
|
|
@shortcut() |
|
|
|
@shortcut() |
|
|
|
export class Func extends Widget { |
|
|
|
export class Func extends Widget { |
|
|
@ -13,9 +13,9 @@ export class Func extends Widget { |
|
|
|
extend({}, item, { |
|
|
|
extend({}, item, { |
|
|
|
type: "bi.label", |
|
|
|
type: "bi.label", |
|
|
|
height: 30, |
|
|
|
height: 30, |
|
|
|
text: `${i + 1}.${item.text}`, |
|
|
|
text: `${i + 1}.${item.text}` |
|
|
|
}) |
|
|
|
}) |
|
|
|
), |
|
|
|
) |
|
|
|
}; |
|
|
|
}; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|