dodu2014

Results 31 issues of dodu2014

# Feature request(新功能建议) 不能在样式定义中使用 @apply 语法,爆红

environment: vue3 typescript core methods: ``` vue type ImageEditorOptions = tuiImageEditor.IOptions & { includeUI: { locale?: Record } }; async function init() { if (!instanceRef.value) return; // 单独列出来,避免 ts 报错...

Question

目前是返回了 GetMenuResult 类型,但序列化到前端,仅仅只有菜单名称 ![Image](https://github.com/user-attachments/assets/4fa3e213-788f-47a7-862b-fe4eb8f6a5c1) 是否应该返回 GetMenuResultFull 类型 ??

resolved

stack: ``` System.InvalidOperationException: Can't use schemaId "$Amount" for type "$Senparc.Weixin.TenPayV3.Apis.BasePay.RefundReturnJson+Amount". The same schemaId is already used for type "$Senparc.Weixin.TenPayV3.Apis.BasePay.OrderReturnJson+Amount" at Swashbuckle.AspNetCore.SwaggerGen.SchemaRepository.RegisterType(Type type, String schemaId) at Swashbuckle.AspNetCore.SwaggerGen.SchemaGenerator.GenerateReferencedSchema(DataContract dataContract, SchemaRepository schemaRepository, Func`1...

needs-info

参考内容:https://github.com/yuzd/Hangfire.HttpJob/wiki/05.%E9%99%A4%E4%BA%86%E6%89%8B%E5%8A%A8%E6%B7%BB%E5%8A%A0job%E8%BF%98%E5%8F%AF%E4%BB%A5%E5%86%99%E4%BB%A3%E7%A0%81%E6%B7%BB%E5%8A%A0 代码: ``` c# [HttpGet] public async Task TestAddRecurringJobAsync() { var result = await HangfireJobClient.AddRecurringJobAsync( "http://localhost:3108/dashboard", // 这是正确的,我在program中配置的地址 new RecurringJob() { JobName = "测试5点40执行", Method = "Post", Url = "http://localhost:3108/test/value2",...

import Vcode from `'vue3-puzzle-vcode'`; 引号下内容爆红: 无法找到模块“vue3-puzzle-vcode”的声明文件。“D:/works/****/src/admin-new/node_modules/.pnpm/[email protected]/node_modules/vue3-puzzle-vcode/dist/vue3-puzzle-vcode.es.js”隐式拥有 "any" 类型。 “d:/works/****/src/admin-new/node_modules/vue3-puzzle-vcode/dist/main.d.ts”处有类型,但在遵守 package.json "exports" 时无法解析此结果。“vue3-puzzle-vcode”库可能需要更新其 package.json 或键入。

我是这样接收队列消息: ``` c# // ** 开始消费 if (!cancellationToken.IsCancellationRequested) { await bus.PubSub.SubscribeAsync("sub01", async message => await messageHandle.HandleMessageAsync(message, cancellationToken), cancellationToken: cancellationToken); logger.LogInformation("已开启订阅: {time}", DateTimeOffset.Now); } ``` 我的应用是使用vs中辅助角色服务项目创建的,在其中一个 work 的 StartAsync 方法中启用消费(上述代码)。 应用不定时的会中断,一天可能有7、8次,请问该如何解决?

在连接字符串中添加了 publisherConfirms=true,应该具体怎么来确认,我当前队列中是这样的 ![image](https://github.com/user-attachments/assets/c2b2a845-6710-4a88-b7a6-d934681b2b39) 发布时候是这样的: ![image](https://github.com/user-attachments/assets/dae8f5d7-c619-4340-8cd2-ff2e085934e3)