Skip to content

Commit

Permalink
fix:Modify some description fields
Browse files Browse the repository at this point in the history
  • Loading branch information
yanghang committed Jan 10, 2024
1 parent b903255 commit f731a58
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 15 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,9 @@ createApp(App).use(install).use(router).mount('#app')

正在以及想使用框架快速中后台系统,熟悉Vue使用它开发过几个实际项目,热爱技术,爱学习,想进阶和提升的同学

### 后端框架
[egg-bag-framework](https://github.com/hangjob/egg-bag-framework)

## 学习讨论

![微信群-定期更新](./scan.jpg)
Expand Down
2 changes: 1 addition & 1 deletion src/app/admin/view/home/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
tleData.time
}},准备吃什么呢?</h1>
<p class="des">前端工程师 |
阿里巴巴,vue-bag-admin,采用Vite4.4、Vue3.3、TypeScript、JavaScript构建,支持多种写法和调用,完整的框架体系,适合响应式中后台管理系统,支持现有业务各种扩展....</p>
品茗科技,vue-bag-admin,🍁采用Vite4、Vue3、Pinia 、Naive UI 构建,构建企业npm依赖包中后台管理系统基础框架,做到框架(packages)和应用(app)分开,即可以减少项目之间的耦合,也能提升项目扩展性...</p>
</div>
</div>
</n-card>
Expand Down
32 changes: 32 additions & 0 deletions src/app/components.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,24 @@ export {}

declare module 'vue' {
export interface GlobalComponents {
NAlert: typeof import('naive-ui')['NAlert']
NAutoComplete: typeof import('naive-ui')['NAutoComplete']
NBadge: typeof import('naive-ui')['NBadge']
NBreadcrumb: typeof import('naive-ui')['NBreadcrumb']
NBreadcrumbItem: typeof import('naive-ui')['NBreadcrumbItem']
NButton: typeof import('naive-ui')['NButton']
NButtonGroup: typeof import('naive-ui')['NButtonGroup']
NCalendar: typeof import('naive-ui')['NCalendar']
NCard: typeof import('naive-ui')['NCard']
NCarousel: typeof import('naive-ui')['NCarousel']
NCheckbox: typeof import('naive-ui')['NCheckbox']
NCheckboxGroup: typeof import('naive-ui')['NCheckboxGroup']
NColorPicker: typeof import('naive-ui')['NColorPicker']
NConfigProvider: typeof import('naive-ui')['NConfigProvider']
NDataTable: typeof import('naive-ui')['NDataTable']
NDatePicker: typeof import('naive-ui')['NDatePicker']
NDescriptions: typeof import('naive-ui')['NDescriptions']
NDescriptionsItem: typeof import('naive-ui')['NDescriptionsItem']
NDialogProvider: typeof import('naive-ui')['NDialogProvider']
NDivider: typeof import('naive-ui')['NDivider']
NDrawer: typeof import('naive-ui')['NDrawer']
Expand All @@ -23,33 +34,54 @@ declare module 'vue' {
NEmpty: typeof import('naive-ui')['NEmpty']
NForm: typeof import('naive-ui')['NForm']
NFormItem: typeof import('naive-ui')['NFormItem']
NGradientText: typeof import('naive-ui')['NGradientText']
NGrid: typeof import('naive-ui')['NGrid']
NGridItem: typeof import('naive-ui')['NGridItem']
NH1: typeof import('naive-ui')['NH1']
NH2: typeof import('naive-ui')['NH2']
NIcon: typeof import('naive-ui')['NIcon']
NImage: typeof import('naive-ui')['NImage']
NImageGroup: typeof import('naive-ui')['NImageGroup']
NInput: typeof import('naive-ui')['NInput']
NInputGroup: typeof import('naive-ui')['NInputGroup']
NInputNumber: typeof import('naive-ui')['NInputNumber']
NLayout: typeof import('naive-ui')['NLayout']
NLayoutHeader: typeof import('naive-ui')['NLayoutHeader']
NLayoutSider: typeof import('naive-ui')['NLayoutSider']
NList: typeof import('naive-ui')['NList']
NListItem: typeof import('naive-ui')['NListItem']
NMenu: typeof import('naive-ui')['NMenu']
NMessageProvider: typeof import('naive-ui')['NMessageProvider']
NModal: typeof import('naive-ui')['NModal']
NNotificationProvider: typeof import('naive-ui')['NNotificationProvider']
NNumberAnimation: typeof import('naive-ui')['NNumberAnimation']
NP: typeof import('naive-ui')['NP']
NPagination: typeof import('naive-ui')['NPagination']
NPopover: typeof import('naive-ui')['NPopover']
NPopselect: typeof import('naive-ui')['NPopselect']
NProgress: typeof import('naive-ui')['NProgress']
NRadioButton: typeof import('naive-ui')['NRadioButton']
NRadioGroup: typeof import('naive-ui')['NRadioGroup']
NResult: typeof import('naive-ui')['NResult']
NScrollbar: typeof import('naive-ui')['NScrollbar']
NSelect: typeof import('naive-ui')['NSelect']
NSpace: typeof import('naive-ui')['NSpace']
NSpin: typeof import('naive-ui')['NSpin']
NStatistic: typeof import('naive-ui')['NStatistic']
NSwitch: typeof import('naive-ui')['NSwitch']
NTab: typeof import('naive-ui')['NTab']
NTable: typeof import('naive-ui')['NTable']
NTabPane: typeof import('naive-ui')['NTabPane']
NTabs: typeof import('naive-ui')['NTabs']
NTag: typeof import('naive-ui')['NTag']
NText: typeof import('naive-ui')['NText']
NThing: typeof import('naive-ui')['NThing']
NTimeline: typeof import('naive-ui')['NTimeline']
NTimelineItem: typeof import('naive-ui')['NTimelineItem']
NTree: typeof import('naive-ui')['NTree']
NUpload: typeof import('naive-ui')['NUpload']
NUploadDragger: typeof import('naive-ui')['NUploadDragger']
NWatermark: typeof import('naive-ui')['NWatermark']
RouterLink: typeof import('vue-router')['RouterLink']
RouterView: typeof import('vue-router')['RouterView']
}
Expand Down
2 changes: 0 additions & 2 deletions src/packages/http/request.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,13 @@ http.interceptors.request.use((config: InternalAxiosRequestConfig) => {
http.interceptors.response.use((response: AxiosResponse) => {
const {code, msg} = response.data
if (code === 1) {
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore
if (response.config.hint && msg) {
window.$message.success(msg)
}
return response.data
}
if(code === 1003){
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore
http.$router.push(http.$configOptions.resetPath)
}
Expand Down
12 changes: 0 additions & 12 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,18 +45,6 @@ export default ({mode}: { mode: any }) => {
server: {
host: "0.0.0.0",
port: 8280,
https: false,
proxy: {
"^/api": {
target: "https://vite.itnavs.com/",
changeOrigin: true,
},
"^/bic": {
target: "https://api.vipbic.com/",
changeOrigin: true,
rewrite: (path: any) => path.replace(/^\/bic/, "")
},
}
}
})
}

0 comments on commit f731a58

Please sign in to comment.