【更新】更新代码生成表单内多一个变量,修正系统配置中删除方法

pull/60/head
小诺 2 years ago committed by 俞宝山
parent f38c2bc0b8
commit a64f6e4c6e

@ -41,7 +41,6 @@
</template>
<script setup name="sysModule">
import { message } from 'ant-design-vue'
import Form from './form.vue'
import configApi from '@/api/dev/configApi'
let searchFormState = reactive({})
@ -87,7 +86,7 @@
let params = {
id: record.id
}
configApi.configDetail(params).then(() => {
configApi.configDelete(params).then(() => {
table.value.refresh(true)
})
}

@ -21,7 +21,7 @@
<% } else if (configList[i].effectType == 'select') {%>
<a-select v-model:value="formData.${configList[i].fieldNameCamelCase}" placeholder="请选择${configList[i].fieldRemark}" :options="${configList[i].fieldNameCamelCase}Options" />
<% } else if (configList[i].effectType == 'radio') {%>
<a-radio-group v-model:value="formData.${configList[i].fieldNameCamelCase}" placeholder="请选择${configList[i].fieldRemark}" :options="formData.${configList[i].fieldNameCamelCase}Options" />
<a-radio-group v-model:value="formData.${configList[i].fieldNameCamelCase}" placeholder="请选择${configList[i].fieldRemark}" :options="${configList[i].fieldNameCamelCase}Options" />
<% } else if (configList[i].effectType == 'checkbox') {%>
<a-checkbox-group v-model:value="formData.${configList[i].fieldNameCamelCase}" placeholder="请选择${configList[i].fieldRemark}" :options="${configList[i].fieldNameCamelCase}Options" />
<% } else if (configList[i].effectType == 'datepicker') {%>

Loading…
Cancel
Save