修复bug
This commit is contained in:
parent
d917735ce2
commit
a37ef07f90
|
|
@ -478,7 +478,7 @@ const handleSave = async () => {
|
|||
await formRef.value?.validate()
|
||||
const { base, column, gen } = formData
|
||||
await generateEdit({ ...base, ...gen, column })
|
||||
feedback.msgSuccess('操作成功')
|
||||
// feedback.msgSuccess('操作成功')
|
||||
removeTab()
|
||||
router.back()
|
||||
} catch (error: any) {
|
||||
|
|
|
|||
|
|
@ -188,14 +188,14 @@ const handleSelectionChange = (val: any[]) => {
|
|||
const handleSync = async (id: number) => {
|
||||
await feedback.confirm('确定要同步表结构?')
|
||||
await syncColumn({ id })
|
||||
feedback.msgSuccess('操作成功')
|
||||
// feedback.msgSuccess('操作成功')
|
||||
}
|
||||
|
||||
const handleDelete = async (ids?: number[]) => {
|
||||
if (!ids) ids = selectData.value.map(({ id }) => id)
|
||||
await feedback.confirm('确定要删除?')
|
||||
await generateDelete({ ids })
|
||||
feedback.msgSuccess('删除成功')
|
||||
// feedback.msgSuccess('删除成功')
|
||||
getLists()
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -122,7 +122,7 @@ const handleSave = async () => {
|
|||
template: pick(formData, ['sms_notice', 'oa_notice', 'mnp_notice', 'system_notice'])
|
||||
}
|
||||
await setNoticeConfig(data)
|
||||
feedback.msgSuccess('操作成功')
|
||||
// feedback.msgSuccess('操作成功')
|
||||
removeTab()
|
||||
router.back()
|
||||
}
|
||||
|
|
|
|||
|
|
@ -45,7 +45,7 @@ public class AjaxResult<T> {
|
|||
* @return AjaxResult
|
||||
*/
|
||||
public static AjaxResult<Object> success() {
|
||||
return new AjaxResult<>(ErrorEnum.SUCCESS.getCode(), ErrorEnum.SUCCESS.getMsg(), new ArrayList<>(), ErrorEnum.HIDE_MSG.getCode());
|
||||
return new AjaxResult<>(ErrorEnum.SUCCESS.getCode(), ErrorEnum.SUCCESS.getMsg(), new ArrayList<>(), ErrorEnum.SHOW_MSG.getCode());
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -37,9 +37,9 @@ public class UrlUtils {
|
|||
return RequestUtils.uri() + url;
|
||||
}
|
||||
|
||||
if (url.startsWith("/adminapi/")) {
|
||||
return RequestUtils.uri() + url.replace("/adminapi/", "/api/");
|
||||
}
|
||||
// if (url.startsWith("//*adminapi/")) {
|
||||
// return RequestUtils.uri() + url.replace("/adminapi/", "/api/");
|
||||
// }*/
|
||||
|
||||
String engine = ConfigUtils.get("storage", "default", "local");
|
||||
engine = engine.equals("") ? "local" : engine;
|
||||
|
|
|
|||
Loading…
Reference in New Issue