Pass Argument From tpl Sencha

前端 未结 1 1330
无人及你
无人及你 2021-01-28 06:20

My json is as follow:

({
\"status\":\"TRUE\",
\"message\":\"Words\",
\"data\":[
{
  \"name\":\"paint\",
  \"author\":\"snooky\",
  \"word_id\":\"1\",
  \"categor         


        
相关标签:
1条回答
  • 2021-01-28 07:10

    It seems that roll_id is a field of your model, so you should be able to get it from your record:

    var rollId = record.get('roll_id');
    ratingStart(rollId);
    
    0 讨论(0)
提交回复
热议问题