|
@@ -390,7 +390,7 @@ $(document).ready(() => {
|
|
|
data.push({id: c.id, level: node.getPath().length - 1});
|
|
|
}
|
|
|
}
|
|
|
- postData('/setting/category/level', data, function (rst) {
|
|
|
+ postData(`/sp/${spid}/setting/category/level`, data, function (rst) {
|
|
|
for (const d of data) {
|
|
|
const c = findNode('id', d.id, category);
|
|
|
c.level = d.level;
|