!332 fix 自动生成代码漏掉 this.#[[$modal]]#.msgError

Merge pull request !332 from 疯狂的狮子Li/N/A
This commit is contained in:
若依 2021-09-24 06:50:50 +00:00 committed by Gitee
commit 821f40882f

View File

@ -546,7 +546,7 @@ export default {
/** ${subTable.functionName}删除按钮操作 */ /** ${subTable.functionName}删除按钮操作 */
handleDelete${subClassName}() { handleDelete${subClassName}() {
if (this.checked${subClassName}.length == 0) { if (this.checked${subClassName}.length == 0) {
this.msgError("请先选择要删除的${subTable.functionName}数据"); this.#[[$modal]]#.msgError("请先选择要删除的${subTable.functionName}数据");
} else { } else {
const ${subclassName}List = this.${subclassName}List; const ${subclassName}List = this.${subclassName}List;
const checked${subClassName} = this.checked${subClassName}; const checked${subClassName} = this.checked${subClassName};