diff --git a/web/admin/demo/form_inputbet.html b/web/admin/demo/form_inputbet.html
index e6e8d81..eb8c322 100644
--- a/web/admin/demo/form_inputbet.html
+++ b/web/admin/demo/form_inputbet.html
@@ -52,11 +52,11 @@
'use strict';
var c;
ciyfn.pageload(function () {
- // c = ciycmp({ dom: '[com=a]' });
- // c.onchange = function (d) { console.log(d) };
- // ciycmp({ dom: '[com=b]', onchange: function (d) { console.log(d) } });
- // ciycmp({ dom: '[com=c]', value: 100, onchange: function (d) { console.log(d) } });
- // ciycmp({ dom: '[com=d]', value: "0", onchange: function (d) { console.log(d) } });
+ c = ciycmp({ dom: '[com=a]' });
+ c.onchange = function (d) { console.log(d) };
+ ciycmp({ dom: '[com=b]', onchange: function (d) { console.log(d) } });
+ ciycmp({ dom: '[com=c]', value: 100, onchange: function (d) { console.log(d) } });
+ ciycmp({ dom: '[com=d]', value: "0", onchange: function (d) { console.log(d) } });
ciycmp({ dom: '[com=e]', value: "023", onchange: function (d) { console.log(d) } });
});
function formsubmit(event) {
diff --git a/web/jscss/ciytable.js b/web/jscss/ciytable.js
index 3731393..595481d 100644
--- a/web/jscss/ciytable.js
+++ b/web/jscss/ciytable.js
@@ -1409,8 +1409,8 @@ ciyfn.tdshow = function (dataori, ext, linedata, once, json, isview) {
return '-';
}
if (preext == 'CATS') {
- var pstr = ext.substring(5);
- var ind = pstr.indexOf('|');
+ var pstr = ext.substring(5).replace('|', ',');
+ var ind = pstr.indexOf(',');
var datasep = ' - ';//分隔字符
var datactn = '?';//包含html字符,?表示内容
if (ind > 0) {
@@ -1439,8 +1439,8 @@ ciyfn.tdshow = function (dataori, ext, linedata, once, json, isview) {
}
if (preext == 'CATM') {
- var pstr = ext.substring(5);
- var ind = pstr.indexOf('|');
+ var pstr = ext.substring(5).replace('|', ',');
+ var ind = pstr.indexOf(',');
var datasep = ' - ';//分隔字符
var datactn = '?';//包含html字符,?表示内容
if (ind > 0) {
@@ -1464,8 +1464,8 @@ ciyfn.tdshow = function (dataori, ext, linedata, once, json, isview) {
return datastrs.join(datasep);
}
if (preext == 'TBIN') {
- var pstr = ext.substring(5);
- var ind = pstr.indexOf('|');
+ var pstr = ext.substring(5).replace('|', ',');
+ var ind = pstr.indexOf(',');
var datasep = ' - ';//分隔字符
var datactn = '?';//包含html字符,?表示内容
if (ind > 0) {