首页 > 数据库 >check the manual that corresponds to your MySQL server version for the right syntax to use near 

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

时间:2023-12-30 10:33:43浏览次数:32  
标签:use right describe corresponds syntax error message

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了

标签:use,right,describe,corresponds,syntax,error,message
From: https://www.cnblogs.com/yangkaiwen/p/17936108.html

相关文章