refactor(web): 合并 crud 组件共同参数
This commit is contained in:
@@ -10,12 +10,10 @@ function cloudCrud(title, path) {
|
||||
type: 'crud',
|
||||
title: title,
|
||||
api: `\${base}${path}`,
|
||||
...crudCommonOptions(),
|
||||
interval: 2000,
|
||||
syncLocation: false,
|
||||
silentPolling: true,
|
||||
headerToolbar: ['reload'],
|
||||
loadDataOnce: true,
|
||||
affixHeader: false,
|
||||
perPage: 100,
|
||||
columns: [
|
||||
{name: 'name', label: '名称'},
|
||||
|
||||
Reference in New Issue
Block a user