{"id":17283775,"url":"https://github.com/972784674t/quasar-manage","last_synced_at":"2025-10-09T22:35:36.271Z","repository":{"id":119773211,"uuid":"331427356","full_name":"972784674t/quasar-manage","owner":"972784674t","description":"基于 Quasar-cli 的中后台前端解决方案","archived":false,"fork":false,"pushed_at":"2021-09-06T11:14:46.000Z","size":5961,"stargazers_count":75,"open_issues_count":3,"forks_count":18,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-17T16:17:18.734Z","etag":null,"topics":["cordova","electron","quasar","quasar-admin","quasar-cli","quasar-framework"],"latest_commit_sha":null,"homepage":"https://972784674t.github.io/quasar-manage/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/972784674t.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-01-20T20:44:51.000Z","updated_at":"2025-05-16T05:41:05.000Z","dependencies_parsed_at":null,"dependency_job_id":"85750f88-65c3-4b1c-9bd2-973b4038c229","html_url":"https://github.com/972784674t/quasar-manage","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/972784674t/quasar-manage","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/972784674t%2Fquasar-manage","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/972784674t%2Fquasar-manage/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/972784674t%2Fquasar-manage/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/972784674t%2Fquasar-manage/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/972784674t","download_url":"https://codeload.github.com/972784674t/quasar-manage/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/972784674t%2Fquasar-manage/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279002106,"owners_count":26083307,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-09T02:00:07.460Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cordova","electron","quasar","quasar-admin","quasar-cli","quasar-framework"],"created_at":"2024-10-15T09:52:11.065Z","updated_at":"2025-10-09T22:35:36.217Z","avatar_url":"https://github.com/972784674t.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003ch1\u003eQuasar-Manage\u003c/h1\u003e\n\u003c/div\u003e\n\u003cp align=\"center\"\u003e\n      \u003cimg src=\"https://img.shields.io/github/license/mashape/apistatus.svg\" alt=\"license\"\u003e\n   \u003cimg src=\"https://img.shields.io/static/v1?label=Quasar-Manage\u0026message=v1.0.2%20Beta\u0026color=blue\" alt=\"cimo\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/vue-2.6.12-brightgreen.svg\" alt=\"vue\"\u003e\n  \u003cimg src=\"https://img.shields.io/static/v1?label=quasar\u0026message=v1.15.1\u0026color=blue\"\u003e\n\u003c/p\u003e\n\nQuasar-Manage 是一款中后台前端解决方案：\n- 基于 [Quasar](http://www.quasarchs.com/) 实现，[Quasar-ui](http://www.quasarchs.com/) 的设计规范来自 [Material Design](https://material.io/)\n- 包含动态路由，动态缓存，权限验证等常用功能\n- 兼容多端运行: SPA / Electron / Cordova\n- 响应式设计，支持手机 / 平板 / 桌面 /小分辨率屏幕显示\n- 包含 tagView 快捷导航、面包屑导航等 SPA 应用常用功能\n- 简单的代码逻辑，多种自定义组件，高度可定制性（只有 1600 行代码）\n- 完全开源及免费\n\n当然如果你想使用基于```VUE-CLI```版本的：[Vue-Quasar-Manage](https://github.com/972784674t/vue-quasar-manage)\n\n使用这个项目前您需要了解如下技术栈：\n\n[ES6](https://es6.ruanyifeng.com/) | [Node.js](https://nodejs.org/en/) | [Webpack](https://www.webpackjs.com/) | [Vue](https://cn.vuejs.org/) | [Vuex](https://vuex.vuejs.org/zh/) | [Vue-Router](https://router.vuejs.org/zh/) | [Vuex](https://vuex.vuejs.org/zh/) | [Quasar-cli](http://www.quasarchs.com/start/quasar-cli) | [Axios](http://www.axios-js.com/) | [ESlint](https://eslint.bootcss.com/) | [Electron：如果需要](https://www.electronjs.org/)\n### DEMO地址\n\n[Github](https://972784674t.github.io/quasar-manage/) | [Gitee 国内用户访问](https://incimo.gitee.io/quasar-manage)\n\n![pc](https://images.gitee.com/uploads/images/2021/0201/141556_ae23dd14_5663937.png \"pc.png\")\n\n![electron](https://images.gitee.com/uploads/images/2021/0201/144237_25c67b18_5663937.png \"elc.png\")\n\n\u003cp align=\"center\"\u003e\n    \u003cimg src=\"https://images.gitee.com/uploads/images/2021/0410/165844_85bc70ef_5663937.png\" alt=\"ios\"\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003cimg src=\"https://images.gitee.com/uploads/images/2021/0201/143433_c700edab_5663937.png\" alt=\"android\"\u003e\n\u003c/p\u003e\n\n### 更新日志\n- *2021/1/30*\n  - 修复在微信端```\u003ctagView\u003e```文本不居中的问题\n  - 路由```icon```改为非必要，优化没有```icon```时```\u003ctagView\u003e```和```\u003cBreadcrumbs\u003e```的显示问题\n- *2021/2/1*\n  - 当路由带```query```参数时，```\u003ctagView\u003e```和```\u003cbreadcrumbs\u003e```会默认加上第一个参数的值作为标识并显示（之前沙雕了用的```params```）\n- *2021/2/5*\n  - 针对第一个被开启的嵌套路由```\u003ckeep-alive\u003e```缓存失效，需要进行一次路由切换才能正常缓存的问题：\n经过测试是由于用来做嵌套路由的```\u003clayout\u003e```组件按需引入导致的，```\u003clayout\u003e```组件的按需引入由于是异步操作，会使嵌套路由的第一次拍平操作失效\n  - 有两种解决方法：\n\n方法 1 ： 如果你不想修改源码，在```asyncRoutes.js```中对于```\u003clayout\u003e```不使用按需引入即可\n```js\nimport layout from '../components/Layout/layout'\n\n{\n  path: '/start',\n  name: 'start',\n  component: layout,\n  children: [{...}]\n}\n```\n方法 2 （兼容按需加载）： 修改```permission.js```中的```handleKeepAlive```方法为 ```async/await```\n```js\nasync function handleKeepAlive (to) {\n  if (to.matched \u0026\u0026 to.matched.length \u003e 2) {\n    for (let i = 0; i \u003c to.matched.length; i++) {\n      const element = to.matched[i]\n      if (element.components.default.name === 'Layout') {\n        to.matched.splice(i, 1)\n        await handleKeepAlive(to)\n      }\n      if (typeof element.components.default === 'function') {\n        await element.components.default()\n        await handleKeepAlive(to)\n      }\n    }\n  }\n}\n```\n经过测试两种方式都可行，不过，总觉得递归和异步套着来一点都不爽 ┗( ▔, ▔ )┛，所以我用第一种...能简单解决的问题，何必复杂化捏...\n- *2021/3/20*\n  - 如果路由的 roles 没有被设置或为空，则所有用户均可访问\n  - 添加了后端动态获取路由的 DEMO，并提供了实现思路作为学习交流\n- *2021/4/10*\n  - 将 quasar 版本降低为 1.15.1 ，修复 ios 端 input 重复输入的问题\n- *2021/9/05*\n  - 修复侧边栏在特定分辨率下会出现滚动条的问题\n\n### Electron\n之后 Electron 版本的更新将在 Electron 分支进行，感谢 [CloudWoR](https://github.com/CloudWoR) 提供的支持\n\n### 如何运行\n请确保您的计算机已经安装了 ```Node.js``` 以及 ```git```，当前项目主要用于展示说明文档\n\n1、克隆项目\n```sh\n## 克隆模板项目\ngit clone https://github.com/972784674t/quasar-manage-template.git\n```\n2、下载项目所需依赖\n```yarn\nyarn install\n```\n3、启动开发服务器\n```yarn\n## 运行 SPA 版本\nquasar dev\n\n## 运行 Electron 版本\nquasar dev -m electron\n```\n### 如何打包\n```sh\nquasar build\n```\n\n## License\n\nCopyright (c) 2015-present Razvan Stoenescu\n\n[MIT License](http://en.wikipedia.org/wiki/MIT_License)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F972784674t%2Fquasar-manage","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F972784674t%2Fquasar-manage","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F972784674t%2Fquasar-manage/lists"}