display data in JsRender only if its present in json response

前端 未结 0 935
广开言路
广开言路 2021-02-05 16:20

I have a JSON Response which has both aliasname and name. Here I need to display aliasname only if its present in the response. If not, I need to show the name itself. Below is

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