1. Vscode reports a pop-up window from time to time, and I don’t know what the situation is. The node and vue environments are all configured, and I dare not uninstall and reinstall easily, so I searched how my companions who encountered the same problem solved it.
报错如下:
Try solution one : just add permissions to the VS installation directory, and directly give all permissions, as shown below
Solution 2: Open vscode.exe with administrator privileges, as shown in the figure below.
After setting, there should be no more errors, and I will add it after a while.
2. Delete single-choice and multiple-choice functions (example) [temporary]
handleDelete(row) {
const ids = row.id || this.ids;
console.log('ids:', ids)
this.$modal.confirm('是否确认删除商家业务编号为"' + ids + '"的数据项?').then(() => {
this.loading = true;
return delInformation(ids).then(res => {
console.log(res, 'res')
//删除成功
this.$modal.msgSuccess(res.msg);
}).catch(err => {
//删除失败
console.log('err==>', err);
});
}).then(() => {
this.loading = false;
this.getList();
}).finally(() => {
this.loading = false;
this.getList();
});
},