对商城的进一步适配
This commit is contained in:
@@ -125,7 +125,7 @@ import crudOperation from '@crud/CRUD.operation'
|
||||
import pagination from '@crud/Pagination'
|
||||
|
||||
// crud交由presenter持有
|
||||
const defaultCrud = CRUD({ title: '文件', url: 'api/localStorage', crudMethod: { ...crudFile }})
|
||||
const defaultCrud = CRUD({ title: '文件', url: 'bxg/api/localStorage', crudMethod: { ...crudFile }})
|
||||
const defaultForm = { id: null, name: '' }
|
||||
export default {
|
||||
components: { pagination, crudOperation, rrOperation },
|
||||
|
||||
@@ -90,7 +90,7 @@ import crudOperation from '@crud/CRUD.operation'
|
||||
import pagination from '@crud/Pagination'
|
||||
|
||||
// crud交由presenter持有
|
||||
const defaultCrud = CRUD({ title: '七牛云文件', url: 'api/qiNiuContent', crudMethod: { ...crudQiNiu }})
|
||||
const defaultCrud = CRUD({ title: '七牛云文件', url: 'bxg/api/qiNiuContent', crudMethod: { ...crudQiNiu }})
|
||||
export default {
|
||||
components: { eForm, pagination, crudOperation, rrOperation },
|
||||
mixins: [presenter(defaultCrud), header(), crud()],
|
||||
|
||||
Reference in New Issue
Block a user