自动构建里if语句,编译后,在脚本里没看到

idshisha
Mar 21, 2022 3:15:30 PM
自动构建里if语句,编译后,在脚本里没看到

import 'sys_' + getManufacturer() + '_runtime';
var __global gCaptcha = '';
var sShouldExit = false,
sPreADTimeout = false,
scrollIndex = 0,
scrollCount = 0,
index = 0;
var temp = null;
var ret = null;
var view = null;
var viewContainer = null;
var item = null;
var index = null;
var data = '';
var text = '';

function main() {}

function removeTag(target, tag) {
var index = target.indexOf(tag);
if (index > 0) {
var start = target.lastIndexOf('|', index);
var end = target.indexOf('|', index);
if (start < 0) {
start = -1;
}
if (end < 0) {
end = target.length - 1;
}
var txt = target.substring(start + 1, end + 1);
console.log('remove txt:' + txt);
target = target.replace(txt, '');
}
return target;
}
发表评论
最新评论
商务合作QQ:29600731
Copyright © 2021-2022 杭州汇骋科技有限公司. All rights reserved. 浙ICP备2021024418号