Browse Source

fix: warn

xingyu4j 2 years ago
parent
commit
a43b884c73

+ 1 - 0
yudao-framework/yudao-spring-boot-starter-biz-social/src/main/java/cn/iocoder/yudao/framework/social/core/YudaoAuthRequestFactory.java

@@ -43,6 +43,7 @@ public class YudaoAuthRequestFactory extends AuthRequestFactory {
      * @param source {@link AuthSource}
      * @return {@link AuthRequest}
      */
+    @Override
     public AuthRequest get(String source) {
         // 先尝试获取自定义扩展的
         AuthRequest authRequest = getExtendRequest(source);

File diff suppressed because it is too large
+ 0 - 0
yudao-module-bpm/yudao-module-bpm-biz/src/main/java/cn/iocoder/yudao/module/bpm/service/task/BpmProcessInstanceServiceImpl.java


+ 2 - 2
yudao-module-infra/yudao-module-infra-biz/src/main/resources/codegen/vue3/api/api.ts.vm

@@ -6,7 +6,7 @@ export interface ${simpleClassName}VO {
 #if(${column.javaType.toLowerCase()} == "long" || ${column.javaType.toLowerCase()} == "integer")
   ${column.javaField}: number
 #elseif(${column.javaType.toLowerCase()} == "date")
-  ${column.javaField}: string
+  ${column.javaField}: Date
 #else
   ${column.javaField}: ${column.javaType.toLowerCase()}
 #end
@@ -20,7 +20,7 @@ export interface ${simpleClassName}PageReqVO extends PageParam {
 #if(${column.javaType.toLowerCase()} == "long" || ${column.javaType.toLowerCase()} == "integer")
   ${column.javaField}?: number
 #elseif(${column.javaType.toLowerCase()} == "date")
-  ${column.javaField}?: string[]
+  ${column.javaField}?: Date[]
 #else
   ${column.javaField}?: ${column.javaType.toLowerCase()}
 #end

+ 2 - 0
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/captcha/CaptchaController.java

@@ -30,6 +30,7 @@ public class CaptchaController extends com.anji.captcha.controller.CaptchaContro
     @ApiOperation("获得验证码")
     @PermitAll
     @OperateLog(enable = false) // 避免 Post 请求被记录操作日志
+    @Override
     public ResponseModel get(@RequestBody CaptchaVO data, HttpServletRequest request) {
         return super.get(data, request);
     }
@@ -38,6 +39,7 @@ public class CaptchaController extends com.anji.captcha.controller.CaptchaContro
     @ApiOperation("校验验证码")
     @PermitAll
     @OperateLog(enable = false) // 避免 Post 请求被记录操作日志
+    @Override
     public ResponseModel check(@RequestBody CaptchaVO data, HttpServletRequest request) {
         return super.check(data, request);
     }

+ 1 - 1
yudao-ui-admin-vue3/package.json

@@ -104,7 +104,7 @@
     "vite-plugin-svg-icons": "^2.0.1",
     "vite-plugin-vue-setup-extend": "^0.4.0",
     "vite-plugin-windicss": "^1.8.8",
-    "vue-tsc": "^1.0.9",
+    "vue-tsc": "^1.0.10",
     "windicss": "^3.5.6"
   },
   "engines": {

File diff suppressed because it is too large
+ 144 - 226
yudao-ui-admin-vue3/pnpm-lock.yaml


+ 10 - 7
yudao-ui-admin-vue3/prettier.config.js

@@ -1,14 +1,17 @@
 module.exports = {
-  printWidth: 100,
-  tabWidth: 2,
-  useTabs: false,
-  semi: false,
+  printWidth: 100, // 每行代码长度(默认80)
+  tabWidth: 2, // 每个tab相当于多少个空格(默认2)ab进行缩进(默认false)
+  useTabs: false, // 是否使用tab
+  semi: false, // 声明结尾使用分号(默认true)
   vueIndentScriptAndStyle: false,
-  singleQuote: true,
+  singleQuote: true, // 使用单引号(默认false)
   quoteProps: 'as-needed',
-  bracketSpacing: true,
-  trailingComma: 'none',
+  bracketSpacing: true, // 对象字面量的大括号间使用空格(默认true)
+  trailingComma: 'none', // 多行使用拖尾逗号(默认none)
   jsxSingleQuote: false,
+  // 箭头函数参数括号 默认avoid 可选 avoid| always
+  // avoid 能省略括号的时候就省略 例如x => x
+  // always 总是有括号
   arrowParens: 'always',
   insertPragma: false,
   requirePragma: false,

Some files were not shown because too many files changed in this diff