会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
.52HZ
博客园
首页
新随笔
联系
管理
订阅
2022年11月7日
修改滚动条样式
摘要: <style> ::-webkit-scrollbar { /*滚动条整体样式*/ width : 10px; /*高宽分别对应横竖滚动条的尺寸*/ height: 10px; } ::-webkit-scrollbar-thumb { /*滚动条里面小方块*/ border-radius: 10p
阅读全文
posted @ 2022-11-07 16:48 .52HZ
阅读(26)
评论(0)
推荐(0)
2022年7月6日
设置表格高度和超出部分隐藏
摘要: <style> table { table-layout:fixed; } td { height: 50px !important; word-break:keep-all;/* 不换行 */ white-space:nowrap;/* 不换行 */ overflow:hidden !import
阅读全文
posted @ 2022-07-06 09:13 .52HZ
阅读(377)
评论(0)
推荐(0)
2022年6月6日
ng-alain框架如何替换sf表单的内容
摘要: 在sf标签之中添加ng-template标签,如下: <sf #treatmentsf button="none" [schema]="treatmentdetail" [formData]="treatmentformData"> <ng-template sf-template='/zjnr'>
阅读全文
posted @ 2022-06-06 08:43 .52HZ
阅读(117)
评论(0)
推荐(0)
2022年6月2日
angular项目中只加载一次核心模块的写法
摘要: 在项目中,核心模块一般只加载一次,写法如下: 1 import { NgModule ,SkipSelf,Optional} from '@angular/core'; 2 import { CommonModule } from '@angular/common'; 3 4 @NgModule({
阅读全文
posted @ 2022-06-02 14:04 .52HZ
阅读(60)
评论(0)
推荐(0)
2022年5月31日
移除数组 arr 中的所有值与 item 相等的元素
摘要: 把数组看成是队列,等于item元素直接删除,不等于的,先push再删除。 function removeWithoutCopy(arr, item) { var n=arr.length; for(var i=0;i<n;i++){ if(arr[0]!==item) arr.push(arr[0]
阅读全文
posted @ 2022-05-31 10:26 .52HZ
阅读(49)
评论(0)
推荐(0)
2022年1月7日
"GraphQL error:EPERM:operation not permitted"报错解决
摘要: Vue ui使用时报错"GraphQL error:EPERM:operation not permitted" 报错原因:cmd窗口未使用管理员权限打开
阅读全文
posted @ 2022-01-07 09:42 .52HZ
阅读(635)
评论(0)
推荐(0)
公告