How to provide config of types for object which builds by input config

前端 未结 0 612
我寻月下人不归
我寻月下人不归 2021-02-05 05:18

I have config:

const customConfig = {
  documents: {
    url: \'/documents\'
  },
  tests: {
    url: \'/tests\'
  }
}

And I have Map of types:

相关标签:
回答
  • 消灭零回复
提交回复
热议问题