chore(lint): 升级检查工具链并发布 1.2.1
eslint 10、eslint-plugin-vue 10、stylelint 17、commitlint 21 eslint 配置改为 flat config,去掉自动导入 globals 文件 环境变量改成 VITE_API_BASE 与 VITE_API_URL 函数注释改成多行 JSDoc,去掉行末句号 列表项 id 改为必填,去掉非空断言 新增 useFormDialog 统一表单弹窗流程 菜单表单在小程序端改由 flex 派生滚动区高度 声明 packageManager 为 pnpm@10.34.5
This commit is contained in:
1 parent
e58a00bd59
commit
1bf312c125
105 files changed
+11854
-1229
No files matched your search
Vendored
+2
-2
@@ -10,10 +10,10 @@
|
||||
|
||||
declare global {
|
||||
/**
|
||||
* 微信小程序全局对象。
|
||||
* 微信小程序全局对象
|
||||
*
|
||||
* 条件编译内的 `wx` 在微信端运行时存在,但 vue-tsc 仍会解析源码,
|
||||
* 因此这里提供最小声明,避免页面直接报未定义。
|
||||
* 因此这里提供最小声明,避免页面直接报未定义
|
||||
*/
|
||||
const wx: {
|
||||
request(options: UniApp.RequestOptions): void;
|
||||
|
||||
Reference in new issue
Block a user