mirror of
https://gitee.com/dapppp/ruoyi-plus-vben5.git
synced 2026-03-14 05:10:53 +08:00
refactor: 已经不需要disabled
This commit is contained in:
@@ -119,6 +119,7 @@ export const modalSchema: FormSchemaGetter = () => [
|
||||
optionType: 'button',
|
||||
buttonStyle: 'solid',
|
||||
},
|
||||
defaultValue: 'CLASSICS',
|
||||
rules: 'selectRequired',
|
||||
},
|
||||
{
|
||||
|
||||
@@ -150,12 +150,12 @@ const router = useRouter();
|
||||
/**
|
||||
* 流程设计/预览
|
||||
* @param row row
|
||||
* @param disabled true为预览,false为设计
|
||||
* @param _disabled true为预览,false为设计
|
||||
*/
|
||||
function handleDesign(row: any, disabled: boolean) {
|
||||
function handleDesign(row: any, _disabled: boolean) {
|
||||
router.push({
|
||||
path: '/workflow/design/index',
|
||||
query: { definitionId: row.id, disabled: String(disabled) },
|
||||
query: { definitionId: row.id },
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user