摘要: <style> ::-webkit-scrollbar { /*滚动条整体样式*/ width : 10px; /*高宽分别对应横竖滚动条的尺寸*/ height: 10px; } ::-webkit-scrollbar-thumb { /*滚动条里面小方块*/ border-radius: 10p 阅读全文
posted @ 2022-11-07 16:48 .52HZ 阅读(21) 评论(0) 推荐(0) 编辑
摘要: <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 阅读(365) 评论(0) 推荐(0) 编辑
摘要: 在sf标签之中添加ng-template标签,如下: <sf #treatmentsf button="none" [schema]="treatmentdetail" [formData]="treatmentformData"> <ng-template sf-template='/zjnr'> 阅读全文
posted @ 2022-06-06 08:43 .52HZ 阅读(95) 评论(0) 推荐(0) 编辑
摘要: 在项目中,核心模块一般只加载一次,写法如下: 1 import { NgModule ,SkipSelf,Optional} from '@angular/core'; 2 import { CommonModule } from '@angular/common'; 3 4 @NgModule({ 阅读全文
posted @ 2022-06-02 14:04 .52HZ 阅读(56) 评论(0) 推荐(0) 编辑
摘要: 把数组看成是队列,等于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 阅读(44) 评论(0) 推荐(0) 编辑
摘要: Vue ui使用时报错"GraphQL error:EPERM:operation not permitted" 报错原因:cmd窗口未使用管理员权限打开 阅读全文
posted @ 2022-01-07 09:42 .52HZ 阅读(576) 评论(0) 推荐(0) 编辑