|
@@ -924,7 +924,7 @@ $(document).ready(function () {
|
|
|
|
|
|
function setRightData(datas, coolist) {
|
|
|
const newdatas = [];
|
|
|
- const reg = /(^GD([a-zA-Z0-9\-]+))|(\d+)/;
|
|
|
+ const reg = /(^GD([a-zA-Z0-9\-]+))|(^([0-9\-]+)$)/;
|
|
|
for (const l of datas) {
|
|
|
if (reg.test(l.code) && l.level <= 4) {
|
|
|
if(l.level === 4 && l.is_leaf === false) {
|