|
@@ -186,7 +186,7 @@ function() {
|
|
|
}
|
|
|
function a(t) {
|
|
|
if (!t) return void i.outLog("请求数据失败!请查看配置参数[ajax_url或ajax_data]是否配置正确,并查看通过该地址返回的数据格式是否正确", "error");
|
|
|
- var a, o, s, c, d = "",
|
|
|
+ var a, o, s, c, d, v = "",
|
|
|
l = "string" == typeof t ? JSON.parse(t) : t,
|
|
|
g = l[i.dataKey];
|
|
|
i.cacheData = {},
|
|
@@ -200,7 +200,8 @@ function() {
|
|
|
s = i.template,
|
|
|
c = "function" == typeof s ? s(t[a], t) : t[a],
|
|
|
o = i.align ? 'style="text-align:' + i.align + '"': "",
|
|
|
- d += "<td " + o + ">" + (null==c?"":c) + "</td>"
|
|
|
+ v = null!=c && "function" != typeof s ? ' title="' + c + '"': "",
|
|
|
+ d += "<td " + o + v + ">" + (null==c?"":c) + "</td>"
|
|
|
}),
|
|
|
d += "</tr>"
|
|
|
}), r.html(d)
|