会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
首页
|
我的博客
|
查看该博主内容分类
|
搜 索
面向对象编程
让学习进步成为一种习惯
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
5
6
7
8
9
10
11
12
13
下一页
2023年2月17日
org.elasticsearch.ElasticsearchException: not all primary shards of [.geoip_databases] index are active解决办法
摘要: 解决办法 在配置elasticsearch.yml中加上 ingest.geoip.downloader.enabled: false
阅读全文
posted @ 2023-02-17 13:59 Z哎呀
阅读(650)
评论(0)
推荐(1)
2023年2月15日
The `.update()` method does not support writable nestedfields by default. Write an explicit `.update()` method for serializer `...`, or set `read_only=True` on nested serializer fields.解决办法
摘要: 原因 Serializers中,外表的字段如source="group.title"不能进行写入操作 解决办法 将外表字段设置为read_only=True,此时可能有人就会问了:前端字段传过来还是group字段的id值,还是想以group字段进行数据存储怎么办?这时候可以利用回调函数perform
阅读全文
posted @ 2023-02-15 11:18 Z哎呀
阅读(205)
评论(0)
推荐(0)
2023年2月13日
We've detected suspicious behavior from phone numbers similar to yours. Please try again later or contact us through our help center at help.openai.com.
摘要: 原因 很多人使用该地区号码,被限制住了 解决办法 过会儿再试,或者换个地区接码
阅读全文
posted @ 2023-02-13 10:43 Z哎呀
阅读(985)
评论(0)
推荐(0)
2023年2月10日
多个el-table在使用v-if在同一页面切换渲染时相互影响的解决办法
摘要: 解决办法 给每个el-table设置一个唯一的key值,如: <el-table key='uniqueName' ></el-table> <el-table key='uniqueName2' ></el-table>
阅读全文
posted @ 2023-02-10 10:16 Z哎呀
阅读(89)
评论(0)
推荐(0)
2023年2月9日
unix:///var/run/supervisor.sock no such file报错解决办法
摘要: 报错 unix:///var/run/supervisor.sock no such file 原因 /var/run/supervisor.sock已被清理。 解决办法 关闭supervisor:pkill supervisor 启动supervisor:supervisord -c 你的supe
阅读全文
posted @ 2023-02-09 23:40 Z哎呀
阅读(2794)
评论(0)
推荐(1)
2023年2月6日
Access denied You do not have access to chat.openai.com. The site owner may have set restrictions that prevent you from accessing the site.解决办法
摘要: 报错 Access denied You do not have access to chat.openai.com. The site owner may have set restrictions that prevent you from accessing the site. 原因 open
阅读全文
posted @ 2023-02-06 17:25 Z哎呀
阅读(11006)
评论(0)
推荐(0)
el-table实现翻页选择和回看
摘要: html <el-table ... <!-- row-key的row.id是你的行唯一标识,一般用id,翻页选的关键 --> :row-key="row => row.id" <!-- selection-change选择后的回调函数 --> @selection-change="selected
阅读全文
posted @ 2023-02-06 13:47 Z哎呀
阅读(224)
评论(1)
推荐(0)
2023年2月2日
css如何将content、background、background-image生成的背景进行翻转
摘要: 方法 transform: scaleX(-1); 本例是水平翻转180度,方向可修改X为Y/Z。 注意如果是content,需要设置display: inline-block/block;
阅读全文
posted @ 2023-02-02 09:33 Z哎呀
阅读(603)
评论(0)
推荐(0)
2023年1月31日
利用position: absolute最简便实现水平居中的css样式
摘要: html <div class="horizontal-center"></div> css .horizontal-center { left: 50%; transform: translate(-50%); }
阅读全文
posted @ 2023-01-31 23:11 Z哎呀
阅读(46)
评论(0)
推荐(0)
el-form不进行校验可能的原因
摘要: 可能原因 el-form至少需要:model="你的数据form",:rules='你的校验规则' 两个属性; el-form-item需要有prop属性,指向你的规则字段名称; 只能校验el-input,不能对原始input进行校验 (大坑)。
阅读全文
posted @ 2023-01-31 10:23 Z哎呀
阅读(69)
评论(0)
推荐(0)
上一页
1
···
5
6
7
8
9
10
11
12
13
下一页
公告