Vue3 + Element plus 分页

我自己网上搜了好久都没搜到现成的,最后自己硬看文档,终于弄好了。

废话不多说,我直接列出 HTML 部分和 TS 部分,供大家参考

开发电脑上面的详细配置如下 vue 3.0.0-beta.1 + typescript 3.9.3

  "dependencies": {
    "axios": "^0.21.1",
    "core-js": "^3.6.5",
    "element-plus": "*",
    "npm": "^7.11.1",
    "video.js": "^7.11.8",
    "videojs-contrib-hls": "^5.15.0",
    "vue": "^3.0.0-beta.1",
    "vue-class-component": "^8.0.0-0",
    "vue-router": "^4.0.0-alpha.6",
    "vuex": "^4.0.0-alpha.1",
    "webpack": "^4.46.0"
  },
  "devDependencies": {
    "@typescript-eslint/eslint-plugin": "^2.33.0",
    "@typescript-eslint/parser": "^2.33.0",
    "@vue/cli-plugin-babel": "~4.5.0",
    "@vue/cli-plugin-eslint&

你可能感兴趣的:(Vue3.x,typescript,vue3,elementplus,分页)