refactor: 组件就近迁移、操作菜单组件化并统一页面命名
- 组件文件统一 PascalCase 并就近迁入所属目录 - 操作菜单抽为 ActionSheet 组件,危险操作确认拆为 useConfirmAction - 导航栏测量拆为 useNavbarMetrics 并收缩对外接口 - 页面方法按动词约定重命名,show 前缀与 handle 误用一并修正 - 通知与菜单接口类型改用字面量联合并修正取值注释 - 多行空壳注释收回单行
This commit is contained in:
1 parent
1e3954ce0c
commit
cb1a1e349f
63 files changed
+1653
-1423
No files matched your search
+2
-1
@@ -42,7 +42,8 @@
|
||||
"build:quickapp-webview-huawei": "uni build -p quickapp-webview-huawei",
|
||||
"build:quickapp-webview-union": "uni build -p quickapp-webview-union",
|
||||
"type-check": "vue-tsc --noEmit",
|
||||
"check": "pnpm type-check && pnpm lint:eslint:check && pnpm lint:stylelint:check",
|
||||
"type-check:templates": "node scripts/check-templates.mjs",
|
||||
"check": "pnpm type-check && pnpm type-check:templates && pnpm lint:eslint:check && pnpm lint:stylelint:check",
|
||||
"lint:eslint:check": "eslint \"src/**/*.{vue,ts}\"",
|
||||
"lint:eslint": "eslint \"src/**/*.{vue,ts}\" --fix",
|
||||
"lint:prettier": "prettier --write \"**/*.{js,cjs,ts,json,css,scss,vue,html,md}\"",
|
||||
|
||||
Reference in new issue
Block a user