| | |
| | | if (type === 'calendar') { |
| | | regs.push({reg: /@mk_year@/ig, value: '2024'}) |
| | | } |
| | | if (window.GLOB.getLocation) { |
| | | regs.push( |
| | | {reg: /@mk_longitude@/ig, value: 0}, |
| | | {reg: /@mk_latitude@/ig, value: 0} |
| | | ) |
| | | } |
| | | |
| | | // 外联数据库替换 |
| | | if (window.GLOB.externalDatabase !== null) { |
| | |
| | | } |
| | | |
| | | // 正则替换 |
| | | let custompage = /@pageSize@|@orderBy@/i.test(_dataresource + _customScript) |
| | | let custompage = /@pageSize@|@orderBy@|@mk_total/i.test(_dataresource + _customScript) |
| | | let _regoptions = getSearchRegs(searches) |
| | | |
| | | let _search = joinMainSearchkey(searches) |