Browse Source

basicform 修改 标题参数

master_hella_20240701
陈薪名 9 months ago
parent
commit
892fdacc99
  1. 6
      src/components/BasicForm/src/BasicForm.vue

6
src/components/BasicForm/src/BasicForm.vue

@ -361,7 +361,11 @@ const searchTableSuccess = (formField, searchField, val, type, row) => {
/** 打开弹窗 */ /** 打开弹窗 */
const open = async (type: string, row?: any, masterParmas?: any, titleName?: any) => { const open = async (type: string, row?: any, masterParmas?: any, titleName?: any) => {
dialogVisible.value = true dialogVisible.value = true
dialogTitle.value = t('action.' + titleName) if (titleName) {
dialogTitle.value = t('action.' + titleName)
} else {
dialogTitle.value = t('action.' + type)
}
formType.value = type formType.value = type
resetForm() resetForm()
// //

Loading…
Cancel
Save