This commit is contained in:
Viet An
2026-07-06 11:25:42 +07:00
parent f72af58d78
commit be0be49454
22 changed files with 301 additions and 391 deletions

View File

@@ -186,8 +186,8 @@ export default defineNuxtPlugin((nuxtApp) => {
};
const findpage = function (arr) {
var copy = $copy(store.pagetrack);
var doFind = function () {
const copy = $copy(store.pagetrack);
function doFind() {
let found = undefined;
for (let i = 1; i <= 30; i++) {
let name = `pagedata${i}`;
@@ -199,7 +199,7 @@ export default defineNuxtPlugin((nuxtApp) => {
}
if (!found) console.log("pagename not found");
return found;
};
}
let result;
if (arr) {
result = [];