首页
新闻
会员
周边
捐助
园子
·
关注
·
粉丝
·
会员
·
随便看看
·
消息
欢迎,请先
登录
或者
注册
。
登录
/
注册
闪存
博客
发言
小组
投递
新闻
提问
博问
添加
收藏
文库
问题反馈
问题列表
我关注的
我的博问
博问标签
提问
回答
被采纳
1
回答数
30
angular 中使用 ngx-monaco-editor-v2 遇到问题 "No provider for InjectionToken NGX_MONACO_EDITOR_CONFIG"
将园子博客后台升级到 angular 19 并迁移到 standalone component 后,使用 ngx-monaco-editor-v2 的 component 报错,报错信息如下: Nul
1
回答数
30
angular 中注入 ActivatedRouteSnapshot 报错 "NG0204: Can't resolve all parameters for ActivatedRouteSnapshot"
在 angular 19 项目的一个 Directive 实现中通过构造函数注入 ActivatedRouteSnapshot @Directive({ selector: '[cnbLayoutSi
0
回答数
30
Angular 中 ActivatedRouteSnapshot 与 RouterStateSnapshot 的区别是什么
今天在查阅 Angular Router – everything you need to know about 这篇博文产生的疑问 type CanActivateFn = ( route: Act
1
回答数
30
angular: 园子博客后台遇到的处理 NavigationError 错误后的 sidebar 更新问题
目前在改进中的博客后台在发生 NavigationError 路由错误时是这样处理的,在 NavigationStart 事件处理函数中先将当前 tab 设置为 active。由于遇到路由错误,Rou
1
回答数
30
angular 中如何在发生路由错误时给 RouteOutlet 塞一个 Component
问题场景是这样的,点击 tab 后会浏览器地址栏会切换到 tab 对应的 url <a nz-tab-link [routerLink]="tab.route" [state]="{ tab }">{
2
回答数
30
angular 中订阅 router events 是否需要 unsubscribe
比如下面的订阅 NavigationStart 事件的代码,通过 RxHelper.autoUnsubscribe 进行了 unsubscribe,请问这个退订是否必要? this._router.e
1
回答数
30
ng-zorro-antd 的 tab 组件切换 tab 滞后的问题
园子博客后台前端 tab 组件用的是 ng-zorro-antd 提供的 <nz-tabset>,采用的是 link with router 方式 <nz-tabset nzLinkRouter [n
2
回答数
30
使用腾讯云 coscli cp 命令上传大文件到对象存储的问题
使用下面的命令上传大文件到腾讯云对象存储 COS,无任何响应与输出 sudo ./coscli cp file1.zip cos://files-xxx/ 从服务器的带宽监控看实际也没有在上传文件
2
回答数
30
Angular 项目迁移到 Standalone Components 后遇到一个 Component 代码不执行的问题
这是园子博客后台升级到 Angular 19 并迁移到 Standalone Components 后遇到的问题 posts-sidebar.component.ts 组件中的 <cnb-sideba
1
回答数
30
在 Angular Standalone 模式下如何使用 ng-zorro-antd 的 fetchFromIconfont
之前在 NgModule 模式是这么实现的 @NgModule({ declarations: [], imports: [CommonModule, NzIconModule.forRoot([])
1
回答数
30
k8s 部署 clickhouse 后客户端连接失败: "Authentication failed"
使用 Altinity Kubernetes Operator 在 k8s 集群上部署 ClickHouse,部署后在 clickhouse pod 中通过 clickhouse-client 可以正
1
回答数
30
Altinity Kubernetes Operator 部署的 ClickHouse 如何调整 PVC 空间大小
开始设置的 PVC 空间偏小了,想调大一些,修改清单文件,部署时不让修改 PVC 的大小
1
回答数
30
如何让 Altinity Kubernetes Operator 部署 ClickHouse 时不部署 LoadBalancer
Altinity Kubernetes Operator 部署 ClickHouse 时默认会部署 LoadBalancer Service,实际用不到 LoadBalancer,如何禁止这个部署?
1
回答数
30
Altinity Kubernetes Operator 如何部署 ClickHouse 的 NodePort Service
在 k8s 集群上通过 Altinity Kubernetes Operator 部署了 clickhouse,但只部署了 ClusterIP service,请问如何部署 NodePort serv
2
回答数
30
angular 19 中使用 ng-zorro-antd 标签页组件 nz-tabset 的问题
园子的博客后台 tab 组件用的是 ng-zorro-antd 的 nz-tabset,升级到 angular 19 + ng-zorro-antd 19 之后运行时浏览器控制台出现下面的警告 War
3
回答数
30
css:移动端适配时如何保持图片原始比例
图片指定了固定的宽度与高度,比如这篇博文 https://www.cnblogs.com/cmt/p/18568184 <img style="width: 800px; height: 340px"
1
回答数
30
angular 项目报错 "error-handler.ts:20 TypeError: stackTrace.fromError is not a function"
这是园子博客后台升级到 angular 19 后解决升级问题中遇到的,浏览器控制台报错信息截图如下 对应的 typescript 代码 if (!environment.production) { i
1
回答数
30
Angular: 迁移到 Standalone Component 后 ViewChild 无法正常工作
项目从 angular 15 升级到 angular 19 之后,将 component 迁移到 standalone component,ng build 已经没有任何错误,但运行时通过 ViewC
1
回答数
30
angular 依赖注入问题:如何避免在很多 component 中注册同一个 class
下面的 class 在很多 component 中用到,在每个 standalone component 的 providers 中添加很麻烦,但又不能使用 providedIn: "root" 注册
1
回答数
30
升级至 angular 19 后报错:"NG05105: Unexpected synthetic property @tabSwitchMotion found"
升级至 angular 19 并且迁移至 standalone components 后运行时报错 main.ts:6 RuntimeError: NG05105: Unexpected synthe
1
回答数
30
angular 19 中 HttpClient 的依赖注入问题
园子博客后台升级至 angular 19 并改用 standalone bootstrapping api import { bootstrapApplication } from '@angular
1
回答数
30
vscode 中如何方便地在 angular compoment 的不同文件之间切换
也就是在同一个组件的 .ts 文件、.html 模版文件、.scss(或者 .less)样式文件之间切换
1
回答数
30
vscode 中如何对 tab 按字母进行排序
在 angular 开发中特别需要,这样同一个 component 的不同代码文件可以紧挨在一起
1
回答数
30
angular: standalone component 使用 [formControl] 的问题
下面的 component template 代码 <input [formControl]="control"> 已经添加了 FormsModule 的引用 imports: [FormsModul
1
回答数
30
angular standalone component 中使用 ngModel 的问题
将一个 component 转换为 standalone component <div> <cnb-spinner [show]="isLoading"> <cnb-editors-selector
< Prev
1
2
3
4
5
6
7
8
9
10
11
···
69
Next >
dudu
园豆:28250
排名:6
博问搜索
关于博问
»
博问帮助
»
发现问题
»
我有建议