changes
This commit is contained in:
@@ -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 = [];
|
||||
|
||||
Reference in New Issue
Block a user