This commit is contained in:
boi 2025-06-30 16:07:26 +08:00
parent b019a088d4
commit b35066b799
2 changed files with 11 additions and 11 deletions

View File

@ -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) {

View File

@ -1409,8 +1409,8 @@ ciyfn.tdshow = function (dataori, ext, linedata, once, json, isview) {
return '<span title="' + dataori + '">-</span>';
}
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) {