xieruidong %!s(int64=2) %!d(string=hai) anos
pai
achega
27e8581902
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      public/assets/js/backend/yexam/exam.js

+ 3 - 0
public/assets/js/backend/yexam/exam.js

@@ -667,6 +667,9 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
                         {field: 'reward_image', title: __('奖励图片'),formatter: Table.api.formatter.image, events: Table.api.events.image},
                         {field: '', title: __('收货地址'),operate:false,formatter(a,b){
                             b=b.address;
+                            if(!b){
+                                return ''
+                            }
                                 return `
                                 <p>${b.name||''}</p>
                                 <p>${b.mobile||''}</p>