很抱歉,页面出错了,给您带来了麻烦,您可以咨询客服或返回首页。

(错误代码:500 traceId: 1710818690352809290768)

详细信息
咨询客服 返回首页

Exception: false

{
  "traceId": "1710818690352809290768",
  "time": "2024-03-19 11:24:50.352",
  "isAxiosError": false,
  "name": "TypeError",
  "message": "Cannot read properties of undefined (reading 'id')",
  "statusCode": 500,
  "stack": "TypeError: Cannot read properties of undefined (reading 'id')\n    at server.js:3617:28\n    at i.te [as _l] (/data/serviceroot/teacher-channel-pc-web/node_modules/vue/dist/vue.runtime.common.prod.js:11:12818)\n    at i.render (components/news-list.vue:1:0)\n    at i.t._render (/data/serviceroot/teacher-channel-pc-web/node_modules/vue/dist/vue.runtime.common.prod.js:11:43639)\n    at /data/serviceroot/teacher-channel-pc-web/node_modules/vue-server-renderer/build.prod.js:1:70137\n    at runMicrotasks ()\n    at processTicksAndRejections (node:internal/process/task_queues:96:5)"
}

Nuxt options:

{
  "traceId": "1710818690352809290768",
  "telemetry": false,
  "modern": "server",
  "env": {
    "NUXT_LISTEN_PORT": "4012",
    "BASE_URL": "https://news.zxxk.com",
    "DOMAINL": "news.zxxk.com",
    "loginUrl": "https://sso.zxxk.com"
  },
  "head": {
    "title": "学科网杏坛荟-教师频道",
    "htmlAttrs": {
      "lang": "en"
    },
    "meta": [
      {
        "charset": "utf-8"
      },
      {
        "name": "viewport",
        "content": "width=device-width, initial-scale=1"
      },
      {
        "http-equiv": "X-UA-Compatible",
        "content": "IE=Edge,chrome=1"
      },
      {
        "hid": "description",
        "name": "description",
        "content": ""
      },
      {
        "name": "format-detection",
        "content": "telephone=no"
      }
    ],
    "link": [
      {
        "rel": "icon",
        "type": "image/x-icon",
        "href": "https://www.zxxk.com/favicon.ico"
      }
    ],
    "script": [
      {
        "src": "https://www.zxxk.com/service/js/header.js"
      }
    ],
    "style": []
  },
  "css": [
    {
      "src": "./assets/css/reset.css"
    },
    {
      "src": "./assets/css/toutiao.css"
    },
    {
      "src": "./assets/css/common.scss"
    },
    {
      "src": "element-ui/lib/theme-chalk/index.css"
    }
  ],
  "alias": {
    "~~": "/data/serviceroot/teacher-channel-pc-web",
    "@@": "/data/serviceroot/teacher-channel-pc-web",
    "~": "/data/serviceroot/teacher-channel-pc-web",
    "@": "/data/serviceroot/teacher-channel-pc-web",
    "assets": "/data/serviceroot/teacher-channel-pc-web/assets",
    "static": "/data/serviceroot/teacher-channel-pc-web/static",
    "@assets": "/data/serviceroot/teacher-channel-pc-web/assets",
    "@components": "/data/serviceroot/teacher-channel-pc-web/components"
  },
  "plugins": [
    {
      "src": "/data/serviceroot/teacher-channel-pc-web/.nuxt/cookie-universal-nuxt.js"
    },
    {
      "src": "/data/serviceroot/teacher-channel-pc-web/.nuxt/router.js"
    },
    {
      "src": "/data/serviceroot/teacher-channel-pc-web/.nuxt/axios.js"
    },
    "@/plugins/axios",
    "@/plugins/element-ui",
    {
      "src": "@/plugins/xkw-sites-components",
      "ssr": false
    },
    {
      "src": "@/plugins/xkw-seo-pagination",
      "ssr": false
    },
    {
      "src": "@/plugins/tracker.js",
      "mode": "client"
    },
    {
      "src": "@/plugins/svgIcon"
    }
  ],
  "components": true,
  "buildModules": [
    "@nuxtjs/eslint-module"
  ],
  "modules": [
    "@nuxtjs/axios",
    "@nuxtjs/router",
    "cookie-universal-nuxt",
    "nuxt-error-page-module"
  ],
  "server": {
    "host": "0.0.0.0",
    "port": "4012",
    "timing": {
      "total": true
    },
    "https": false
  },
  "axios": {
    "baseURL": "https://news.zxxk.com",
    "proxy": true
  },
  "build": {
    "transpile": [
      {},
      null
    ],
    "extractCSS": true,
    "publicPath": "/_nuxt/",
    "quiet": false,
    "analyze": false,
    "profile": false,
    "cssSourceMap": false,
    "ssr": true,
    "parallel": false,
    "cache": false,
    "standalone": false,
    "serverURLPolyfill": "url",
    "filenames": {},
    "loaders": {
      "file": {
        "esModule": false
      },
      "fontUrl": {
        "esModule": false,
        "limit": 1000
      },
      "imgUrl": {
        "esModule": false,
        "limit": 1000
      },
      "pugPlain": {},
      "vue": {
        "transformAssetUrls": {
          "video": "src",
          "source": "src",
          "object": "src",
          "embed": "src"
        },
        "productionMode": true
      },
      "css": {
        "esModule": false,
        "modules": {
          "compileType": "icss"
        },
        "sourceMap": false
      },
      "cssModules": {
        "esModule": false,
        "modules": {
          "localIdentName": "[local]_[hash:base64:5]"
        },
        "sourceMap": false
      },
      "less": {
        "sourceMap": false
      },
      "sass": {
        "sassOptions": {
          "indentedSyntax": true
        },
        "sourceMap": false
      },
      "scss": {
        "sourceMap": false
      },
      "stylus": {
        "sourceMap": false
      },
      "vueStyle": {
        "sourceMap": false
      }
    },
    "styleResources": {},
    "plugins": [],
    "terser": {},
    "hardSource": false,
    "aggressiveCodeRemoval": false,
    "optimizeCSS": {},
    "optimization": {
      "runtimeChunk": "single",
      "minimize": true,
      "splitChunks": {
        "chunks": "all",
        "automaticNameDelimiter": "/",
        "cacheGroups": {}
      }
    },
    "splitChunks": {
      "layouts": false,
      "pages": true,
      "commons": true
    },
    "corejs": "auto",
    "babel": {
      "configFile": false,
      "babelrc": false,
      "cacheDirectory": false
    },
    "postcss": {
      "preset": {
        "stage": 2
      }
    },
    "html": {
      "minify": {
        "collapseBooleanAttributes": true,
        "decodeEntities": true,
        "minifyCSS": true,
        "minifyJS": true,
        "processConditionalComments": true,
        "removeEmptyAttributes": true,
        "removeRedundantAttributes": true,
        "trimCustomFragments": true,
        "useShortDoctype": true
      }
    },
    "templates": [
      {
        "src": "/data/serviceroot/teacher-channel-pc-web/node_modules/@nuxtjs/axios/lib/plugin.js",
        "dst": "axios.js",
        "options": {
          "baseURL": "https://news.zxxk.com",
          "browserBaseURL": "/",
          "credentials": false,
          "debug": false,
          "progress": true,
          "proxyHeaders": true,
          "proxyHeadersIgnore": [
            "accept",
            "cf-connecting-ip",
            "cf-ray",
            "content-length",
            "content-md5",
            "content-type",
            "host",
            "x-forwarded-host",
            "x-forwarded-port",
            "x-forwarded-proto"
          ],
          "proxy": true,
          "retry": false,
          "https": false,
          "headers": {
            "common": {
              "Accept": "application/json, text/plain, */*"
            },
            "delete": {},
            "get": {},
            "head": {},
            "post": {},
            "put": {},
            "patch": {}
          },
          "globalName": "nuxt"
        }
      },
      {
        "src": "/data/serviceroot/teacher-channel-pc-web/node_modules/@nuxtjs/router/templates/plugin.js",
        "dst": "router.js",
        "options": {
          "routerFilePath": "../router.js",
          "keepDefaultRouter": false
        }
      },
      {
        "src": "/data/serviceroot/teacher-channel-pc-web/node_modules/cookie-universal-nuxt/lib/templates/cookie-universal-nuxt.js",
        "dst": "cookie-universal-nuxt.js",
        "options": {
          "alias": "cookies",
          "parseJSON": true
        }
      }
    ],
    "watch": [],
    "devMiddleware": {
      "stats": "none"
    },
    "hotMiddleware": {},
    "stats": {
      "excludeAssets": [
        {},
        {},
        {}
      ]
    },
    "friendlyErrors": true,
    "additionalExtensions": [],
    "warningIgnoreFilters": [],
    "followSymlinks": false,
    "loadingScreen": false,
    "indicator": false,
    "_publicPath": "/_nuxt/"
  },
  "dev": false,
  "__normalized__": true,
  "globalName": "nuxt",
  "rootDir": "/data/serviceroot/teacher-channel-pc-web",
  "vue": {
    "config": {
      "silent": true,
      "performance": false
    }
  },
  "vueMeta": null,
  "fetch": {
    "server": true,
    "client": true
  },
  "extendPlugins": null,
  "layouts": {},
  "ErrorPage": null,
  "loading": {
    "color": "black",
    "failedColor": "red",
    "height": "2px",
    "throttle": 200,
    "duration": 5000,
    "continuous": false,
    "rtl": false,
    "css": true
  },
  "loadingIndicator": {
    "name": "default",
    "color": "black",
    "color2": "#F5F5F5",
    "background": "white",
    "dev": false,
    "loading": "Loading..."
  },
  "pageTransition": {
    "name": "page",
    "mode": "out-in",
    "appear": false,
    "appearClass": "appear",
    "appearActiveClass": "appear-active",
    "appearToClass": "appear-to"
  },
  "layoutTransition": {
    "name": "layout",
    "mode": "out-in"
  },
  "features": {
    "store": true,
    "layouts": true,
    "meta": true,
    "middleware": true,
    "transitions": true,
    "deprecations": true,
    "validate": true,
    "asyncData": true,
    "fetch": true,
    "clientOnline": true,
    "clientPrefetch": true,
    "componentAliases": true,
    "componentClientOnly": true
  },
  "test": false,
  "debug": false,
  "target": "server",
  "ssr": true,
  "mode": "universal",
  "_modules": [
    "@nuxt/components"
  ],
  "globals": {},
  "serverMiddleware": [],
  "_nuxtConfigFile": "/data/serviceroot/teacher-channel-pc-web/nuxt.config.js",
  "srcDir": "/data/serviceroot/teacher-channel-pc-web",
  "buildDir": "/data/serviceroot/teacher-channel-pc-web/.nuxt",
  "modulesDir": [
    "/data/serviceroot/teacher-channel-pc-web/server/node_modules",
    "/data/serviceroot/teacher-channel-pc-web/node_modules",
    "/data/serviceroot/node_modules",
    "/data/node_modules",
    "/node_modules"
  ],
  "dir": {
    "assets": "assets",
    "app": "app",
    "layouts": "layouts",
    "middleware": "middleware",
    "pages": "pages",
    "static": "static",
    "store": "store"
  },
  "extensions": [
    "js",
    "mjs"
  ],
  "styleExtensions": [
    "css",
    "pcss",
    "postcss",
    "styl",
    "stylus",
    "scss",
    "sass",
    "less"
  ],
  "ignorePrefix": "-",
  "ignore": [
    "**/*.test.*",
    "**/*.spec.*",
    "**/-*.*"
  ],
  "watch": [
    "/data/serviceroot/teacher-channel-pc-web/nuxt.config.js"
  ],
  "watchers": {
    "webpack": {
      "aggregateTimeout": 1000
    },
    "chokidar": {
      "ignoreInitial": true
    }
  },
  "hooks": null,
  "privateRuntimeConfig": {},
  "publicRuntimeConfig": {
    "_app": {
      "basePath": "/",
      "assetsPath": "/_nuxt/",
      "cdnURL": null
    }
  },
  "messages": {
    "loading": "Loading...",
    "error_404": "This page could not be found",
    "server_error": "Server error",
    "nuxtjs": "Nuxt",
    "back_to_home": "Back to the home page",
    "server_error_details": "An error occurred in the application and your page could not be served. If you are the application owner, check your logs for details.",
    "client_error": "Error",
    "client_error_details": "An error occurred while rendering the page. Check developer tools console for details."
  },
  "modes": {
    "universal": {
      "build": {
        "ssr": true
      },
      "render": {
        "ssr": true
      }
    },
    "spa": {
      "build": {
        "ssr": false
      },
      "render": {
        "ssr": false
      }
    }
  },
  "render": {
    "bundleRenderer": {
      "runInNewContext": false
    },
    "resourceHints": true,
    "ssr": true,
    "ssrLog": false,
    "http2": {
      "push": false,
      "shouldPush": null,
      "pushAssets": null
    },
    "static": {
      "prefix": true
    },
    "compressor": {
      "threshold": 0
    },
    "etag": {
      "weak": false
    },
    "csp": false,
    "dist": {
      "index": false,
      "maxAge": "1y"
    },
    "fallback": {
      "dist": {},
      "static": {
        "skipUnknown": true,
        "handlers": {
          ".htm": false,
          ".html": false
        }
      }
    }
  },
  "router": {
    "mode": "history",
    "base": "/",
    "routes": [],
    "routeNameSplitter": "-",
    "middleware": [],
    "linkActiveClass": "nuxt-link-active",
    "linkExactActiveClass": "nuxt-link-exact-active",
    "linkPrefetchedClass": false,
    "extendRoutes": null,
    "scrollBehavior": null,
    "parseQuery": false,
    "stringifyQuery": false,
    "fallback": false,
    "prefetchLinks": true,
    "prefetchPayloads": true
  },
  "cli": {
    "badgeMessages": [],
    "bannerColor": "green"
  },
  "generate": {
    "dir": "/data/serviceroot/teacher-channel-pc-web/dist",
    "routes": [],
    "exclude": [],
    "concurrency": 500,
    "interval": 0,
    "subFolders": true,
    "fallback": "200.html",
    "crawler": true,
    "manifest": true,
    "cache": {
      "ignore": [],
      "globbyOptions": {
        "gitignore": true
      }
    },
    "staticAssets": {
      "base": "/_nuxt/static",
      "versionBase": "/_nuxt/static/1709536890",
      "dir": "static",
      "version": "1709536890"
    }
  },
  "_nuxtConfigFiles": [
    "/data/serviceroot/teacher-channel-pc-web/nuxt.config.js"
  ],
  "appTemplatePath": "/data/serviceroot/teacher-channel-pc-web/app.html",
  "store": true,
  "app": {
    "basePath": "/",
    "assetsPath": "/_nuxt/",
    "cdnURL": null
  }
}