check the manual that corresponds to your MySQL server version for the right syntax to use near 'describe,

发布时间 2023-12-30 10:30:42作者: 不洗澡超酷
form: {
repairstatus: 0,
name: '',//负责人
maintenancetime: new Date().toISOString().split('T')[0],//保修时间
equipmentid: '',
equipment: '',
describe: '',
finfishtime: '',
repairname: '',
},
this.$axios.post(this.$httpUrl + '/repairadd', this.form).then(res => {
console.log(res)
if (res.data) {
this.$message({
message: '添加成功',
type: 'success'
});
this.centerDialogVisible = false;
this.loadPost();
} else {
this.$message.error('添加失败');
}
}).catch(error => {
// 处理请求失败的情况
console.error(error);
this.$message.error('请求失败,请重试'+error);
});
他却报错 check the manual that corresponds to your MySQL server version for the right syntax to use near 'describe,
就很奇怪
然后发现describe是一个关键字,要把这个给改了才可以,我真cao了?几把了