Skip to content

Commit

Permalink
修复uni-app
Browse files Browse the repository at this point in the history
  • Loading branch information
jry committed Oct 29, 2024
1 parent e38c316 commit 5745fbc
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 7 deletions.
1 change: 1 addition & 0 deletions front-end/uiadmin-uniapp/.gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/unpackage/*
/unpackage/dist/*
/unpackage/cache/*
/unpackage/release/*
Expand Down
5 changes: 5 additions & 0 deletions front-end/uiadmin-uniapp/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"dependencies": {
"uview-plus": "^3.3.37"
}
}
16 changes: 9 additions & 7 deletions front-end/uiadmin-uniapp/pages.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,19 @@
"navigationBarTitleText": "uni-app"
}
}
],
"easycom": {
// 注意一定要放在custom里,否则无效,https://ask.dcloud.net.cn/question/131175
"custom": {
"^u-(.*)": "uview-plus/components/u-$1/u-$1.vue"
}
],
"easycom": {
// 注意一定要放在custom里,否则无效,https://ask.dcloud.net.cn/question/131175
"custom": {
"^u--(.*)": "@/uni_modules/uview-plus/components/u-$1/u-$1.vue",
"^up-(.*)": "@/uni_modules/uview-plus/components/u-$1/u-$1.vue",
"^u-([^-].*)": "@/uni_modules/uview-plus/components/u-$1/u-$1.vue"
}
},
"globalStyle": {
"navigationBarTextStyle": "black",
"navigationBarTitleText": "uni-app",
"navigationBarBackgroundColor": "#F8F8F8",
"backgroundColor": "#F8F8F8"
}
}
}

0 comments on commit 5745fbc

Please sign in to comment.