![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
前端
闲着是种修炼
学无止境,慢慢来
展开
-
记一次 JSON.stringfy(xxx) 的报错
代码:this.saveParam = JSON.stringify(cloneFinalForm);报错:TypeError: Converting circular structure to JSON--> starting at object with constructor 'Window'--- property 'window' closes the circleat JSON.stringify (<anonymous>)...原创 2021-12-29 20:44:04 · 1626 阅读 · 0 评论 -
传参时带有日期参数,@JsonFormat与@DateTimeFormat
先鸡汤一波,平时不注意,欠的债总还是要还的,换工作了,自己写个项目,居然不知道他俩的区别。 注解@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")是后台到前台的时间格式的转换 注解@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")主要是前后到后台的时间格式的转换缺@DateTimeFormat的报错信息: 2021-10-27 10:23:25.783 WA...原创 2021-11-01 23:51:57 · 795 阅读 · 0 评论 -
iview 的table中点击行的heighlight效果不生效问题
现象:在方法内修改v-model关联的对象会导致试图刷新,点击两次才能实现高亮;代码:<template> <Table highlight-row border :columns="columns1" :data="tableData1" ref="selection1" :height="tableHeight" :key="random" @on-current-change="confirmChooseVehicle" @on-row-click="vehicle原创 2021-11-01 23:40:31 · 652 阅读 · 0 评论 -
窗口自适应(iview-Vue)
<Table border :columns="columns4" :data="tableData" ref="selection" highlight-row :height="tableHeight" :key="random" ></Table> :height 动态设置高度 :key 用于强制刷新data:tableHeight: 0,methods: getTableHeight(){ ...原创 2021-10-25 19:58:33 · 429 阅读 · 0 评论