Show country on the device list beside IP.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -140,6 +140,9 @@ layui.use(['table', 'form', 'laydate', 'layer'], function () {
|
||||
{ field: 'device_model', title: '设备型号', width: 130, sort: true, templet: function (d) { return dash(d.device_model); } },
|
||||
{ field: 'ios_version', title: 'iOS 版本', width: 110, sort: true, templet: function (d) { return dash(d.ios_version); } },
|
||||
{ field: 'ip', title: 'IP', width: 140, sort: true, templet: function (d) { return dash(d.ip); } },
|
||||
{ field: 'country', title: '国家', width: 90, sort: true, templet: function (d) {
|
||||
return d.country_label || d.country || '—';
|
||||
} },
|
||||
{ field: 'has_wallet', title: '钱包', minWidth: 220, sort: true, templet: function (d) {
|
||||
var st = Number(d.has_wallet);
|
||||
if (st === 1) return '<span style="color:#64748b;">无</span>';
|
||||
|
||||
Reference in New Issue
Block a user