//master 环境 const navMaster: number[] = [ 759,//1 747,//2 760,//3 2039,//4 689 690,//5 759,//6 762,//7 691,//8 692,//9 686,//10 18,//11 687 // 固定的一级栏目 768,//12 771,//13 773,//14 760,//15 // 首页二级栏目 1931,//16 // 频道页一级栏目 691,//17 768,//18 762,//19 // 频道页二级栏目 787,//20 786,//21 788,//22 789,//23 1724 //24招贤纳士 ] const navPre: number[] = [ 552, 548, 554, 545, 561, 552, 539, 546, 547, 558, 18, // 固定的一级栏目 555, 556, 557, 554, // 二级栏目 588, // 频道页一级栏目 546, 555, 539, // 频道页二级栏目 568, 570, 571, 580, 587 //招贤纳士 ] export default defineNuxtPlugin((nuxtApp) => { //master 环境 nuxtApp.provide('pageNav', navMaster) //pre 环境 // nuxtApp.provide('pageNav', navPre) })