修改省市区插件

This commit is contained in:
邹景立 2022-04-15 22:04:17 +08:00
parent b5ef8f6f6f
commit 74695a725d
2 changed files with 0 additions and 2 deletions

View File

@ -50,7 +50,6 @@ PCAS.init = function (PCA) {
PCA.PCAP[ID1] = VAL1.split("$")[0], PCA.PCAC[ID1] = [], PCA.PCAA[ID1] = []; PCA.PCAP[ID1] = VAL1.split("$")[0], PCA.PCAC[ID1] = [], PCA.PCAA[ID1] = [];
VAL1.split("$")[1].split("|").forEach(function (VAL2, ID2) { VAL1.split("$")[1].split("|").forEach(function (VAL2, ID2) {
PCA.PCAC[ID1].push((PCA.PCAR = VAL2.split(",")).shift()), PCA.PCAA[ID1][ID2] = PCA.PCAR; PCA.PCAC[ID1].push((PCA.PCAR = VAL2.split(",")).shift()), PCA.PCAA[ID1][ID2] = PCA.PCAR;
if (PCA.PCAA[ID1][ID2].length === 1) PCA.PCAA[ID1][ID2][1] = SAT;
}); });
}); });
return this; return this;

View File

@ -50,7 +50,6 @@ PCAS.init = function (PCA) {
PCA.PCAP[ID1] = VAL1.split("$")[0], PCA.PCAC[ID1] = [], PCA.PCAA[ID1] = []; PCA.PCAP[ID1] = VAL1.split("$")[0], PCA.PCAC[ID1] = [], PCA.PCAA[ID1] = [];
VAL1.split("$")[1].split("|").forEach(function (VAL2, ID2) { VAL1.split("$")[1].split("|").forEach(function (VAL2, ID2) {
PCA.PCAC[ID1].push((PCA.PCAR = VAL2.split(",")).shift()), PCA.PCAA[ID1][ID2] = PCA.PCAR; PCA.PCAC[ID1].push((PCA.PCAR = VAL2.split(",")).shift()), PCA.PCAA[ID1][ID2] = PCA.PCAR;
if (PCA.PCAA[ID1][ID2].length === 1) PCA.PCAA[ID1][ID2][1] = SAT;
}); });
}); });
return this; return this;