fix: 修复代码生成树表功能异常的问题

This commit is contained in:
insistence
2025-02-18 17:59:57 +08:00
parent 0fdf45c73f
commit f42a0b530b
2 changed files with 6 additions and 6 deletions

View File

@@ -214,7 +214,7 @@
v-for="dict in dict.type.{{ dictType }}"
:key="dict.value"
:label="dict.value">
{{ dict.label }}
{% raw %}{{{% endraw %} dict.label {% raw %}}}{% endraw %}
</el-checkbox>
</el-checkbox-group>
</el-form-item>
@@ -235,7 +235,7 @@
{% else %}
:label="dict.value"
{% endif %}>
{{ dict.label }}
{% raw %}{{{% endraw %} dict.label {% raw %}}}{% endraw %}
</el-radio>
</el-radio-group>
</el-form-item>
@@ -476,7 +476,7 @@ export default {
},
/** 删除按钮操作 */
handleDelete(row) {
this.$modal.confirm('是否确认删除{{ functionName }}编号为"' + row.{{ pkColumn.python_field }}s + '"的数据项?').then(function() {
this.$modal.confirm('是否确认删除{{ functionName }}编号为"' + row.{{ pkColumn.python_field }} + '"的数据项?').then(function() {
return del{{ BusinessName }}(row.{{ pkColumn.python_field }});
}).then(() => {
this.getList();

View File

@@ -196,7 +196,7 @@
v-for="dict in {{ dictType }}"
:key="dict.value"
:label="dict.value">
{{ dict.label }}
{% raw %}{{{% endraw %} dict.label {% raw %}}}{% endraw %}
</el-checkbox>
</el-checkbox-group>
</el-form-item>
@@ -217,7 +217,7 @@
{% else %}
:label="dict.value"
{% endif %}>
{{ dict.label }}
{% raw %}{{{% endraw %} dict.label {% raw %}}}{% endraw %}
</el-radio>
</el-radio-group>
</el-form-item>
@@ -442,7 +442,7 @@ function submitForm() {
/** 删除按钮操作 */
function handleDelete(row) {
proxy.$modal.confirm('是否确认删除{{ functionName }}编号为"' + row.{{ pkColumn.python_field }}s + '"的数据项?').then(function() {
proxy.$modal.confirm('是否确认删除{{ functionName }}编号为"' + row.{{ pkColumn.python_field }} + '"的数据项?').then(function() {
return del{{ BusinessName }}(row.{{ pkColumn.python_field }});
}).then(() => {
getList();