mirror of
https://gitee.com/JavaLionLi/plus-ui.git
synced 2025-12-30 01:42:26 +00:00
fix 修复 路由参数缓存导致分页错误
This commit is contained in:
@@ -22,7 +22,10 @@ export interface FlowDefinitionForm {
|
|||||||
flowName: string;
|
flowName: string;
|
||||||
flowCode: string;
|
flowCode: string;
|
||||||
category: string;
|
category: string;
|
||||||
|
ext: string;
|
||||||
formPath: string;
|
formPath: string;
|
||||||
|
formCustom: string;
|
||||||
|
modelValue: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface definitionXmlVO {
|
export interface definitionXmlVO {
|
||||||
|
|||||||
@@ -353,6 +353,7 @@ const getPageList = async () => {
|
|||||||
const query = proxy.$route.query;
|
const query = proxy.$route.query;
|
||||||
if (query.activeName) {
|
if (query.activeName) {
|
||||||
activeName.value = query.activeName;
|
activeName.value = query.activeName;
|
||||||
|
proxy.$route.query.activeName = '';
|
||||||
}
|
}
|
||||||
if (activeName.value === '0') {
|
if (activeName.value === '0') {
|
||||||
getList();
|
getList();
|
||||||
@@ -526,6 +527,7 @@ const handleSubmit = async () => {
|
|||||||
await edit(form.value).finally(() => (loading.value = false));
|
await edit(form.value).finally(() => (loading.value = false));
|
||||||
} else {
|
} else {
|
||||||
await add(form.value).finally(() => (loading.value = false));
|
await add(form.value).finally(() => (loading.value = false));
|
||||||
|
activeName.value = '1';
|
||||||
}
|
}
|
||||||
proxy?.$modal.msgSuccess('操作成功');
|
proxy?.$modal.msgSuccess('操作成功');
|
||||||
modelDialog.visible = false;
|
modelDialog.visible = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user