We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Common.prototype.linkageDel = function(id, val){ let dl = $(dl[xid="${id}"]); let vs = val.value.split('/'); let pid, li, index = vs.length - 1; do{ pid = vs[index]; li = dl.find(.xm-select-linkage-group${index + 1} li[xm-value="${pid}"]); if(!li.parent().next().find(li[pid=${pid}].xm-select-this).length){ li.removeClass('xm-select-this'); } index --; }while(li.length && pid != undefined); }
Common.prototype.linkageDel = function(id, val){ let dl = $(
); let vs = val.value.split('/'); let pid, li, index = vs.length - 1; do{ pid = vs[index]; li = dl.find(
); if(!li.parent().next().find(
).length){ li.removeClass('xm-select-this'); } index --; }while(li.length && pid != undefined); }
这里应该是 li[pid="${pid}"], 或者是将pid= vs[index]改为pid= vs[index-1]
个人微信号:cuimoman 望探讨
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Common.prototype.linkageDel = function(id, val){ let dl = $(
dl[xid="${id}"]); let vs = val.value.split('/'); let pid, li, index = vs.length - 1; do{ pid = vs[index]; li = dl.find(
.xm-select-linkage-group${index + 1} li[xm-value="${pid}"]); if(!li.parent().next().find(
li[pid=${pid}].xm-select-this).length){ li.removeClass('xm-select-this'); } index --; }while(li.length && pid != undefined); }
这里应该是 li[pid="${pid}"],
或者是将pid= vs[index]改为pid= vs[index-1]
个人微信号:cuimoman
望探讨
The text was updated successfully, but these errors were encountered: