Plortinus/element-china-area-data

报错提示codeToText is not a function

loveextra opened this issue · 2 comments

在ruoyi.ts 工具函数中使用codeToText函数,但是报错提示codeToText is not a function

image
image
image

vv1vv2 commented

本来就不是函数,是个键值对。

抱歉。没有认真看文档,把codeToText当函数用了 ^_^。【codeToText是个大对象,属性是区域码,属性值是汉字】。

微信截图_20231011155655