feat: 优化页面操作
This commit is contained in:
@@ -41,6 +41,7 @@ function TaskScheduleList() {
|
|||||||
},
|
},
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
|
loadDataOnce: true,
|
||||||
columns: [
|
columns: [
|
||||||
{
|
{
|
||||||
name: 'templateName',
|
name: 'templateName',
|
||||||
|
|||||||
@@ -76,7 +76,7 @@ function TaskScheduleSave() {
|
|||||||
],
|
],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -74,6 +74,23 @@ function TaskTemplateSave() {
|
|||||||
label: '重置',
|
label: '重置',
|
||||||
actionType: 'reset',
|
actionType: 'reset',
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
type: 'action',
|
||||||
|
label: '返回',
|
||||||
|
onEvent: {
|
||||||
|
click: {
|
||||||
|
actions: [
|
||||||
|
{
|
||||||
|
actionType: 'custom',
|
||||||
|
// @ts-ignore
|
||||||
|
script: (context, action, event) => {
|
||||||
|
navigate(-1)
|
||||||
|
},
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
|||||||
Reference in New Issue
Block a user