Element el-form-item 表单有数据却警告'xxxx is required' 如('userName is required'),导致表单验证不通过
摘要:1、警告: 2、原因: 校验必填的值不是form表单的数据(form表单的数据如: ), 导致表单在验证时找不到userName这个值所以一直警告‘userName is required', 所以导致表单验证不通过 ; 提交验证form表单 3、解决: 另写校验方法 rules: { userNa
阅读全文
posted @
2021-12-29 11:21
大渔33
阅读(5892)
推荐(0)
windows系统下安装、启动 nacos
摘要:1、下载nacos程序包+解压: 下载地址:https://github.com/alibaba/nacos/releases 2、要访问nacos管理页面,需配置: 1)conf下 → application.properties: 2)bin下 → startup.cmd: 将 cluster
阅读全文
posted @
2021-12-23 11:28
大渔33
阅读(346)
推荐(0)
Idea 运行Vue项目老是报错: You may use special comments to disable some warnings.
摘要:解决:注释引入 eslint 代码验证部分 步骤: 项目下 → build → webpack.base.conf.js → 注释(module 下 → rules下 → ...(config.dev.useEslint ? [createLintingRule()] : []), ) → 重启项目
阅读全文
posted @
2021-12-21 10:59
大渔33
阅读(158)
推荐(0)
idea中设置某一类型的数据不提交到svn(以log文件为例)
摘要:1、 2、从File → Settings → Editor → Files Types 下设置要过滤的条件: 3、保存即可
阅读全文
posted @
2021-12-06 15:06
大渔33
阅读(460)
推荐(0)
IDEA 2018.1.6配置Run Dashboad 窗口,显示服务+端口
摘要:一、结果 二、步骤: 1、在项目上右键-->选择找到项目在本地位置。 2、项目下-->.idea目录中打开workspace.xml。 3、修改 RunDashboard 配置为: <component name="RunDashboard"> <option name="configuration
阅读全文
posted @
2021-12-03 09:30
大渔33
阅读(362)
推荐(0)