diff --git a/src/components/Crud/crud.js b/src/components/Crud/crud.js index c1dca3a..636204b 100644 --- a/src/components/Crud/crud.js +++ b/src/components/Crud/crud.js @@ -129,7 +129,6 @@ function CRUD(options) { return new Promise((resolve, reject) => { crud.loading = true // 请求数据 - // return initData(crud.url, crud.getQueryParams()).then(data => { crud.page.total = data.totalElements crud.data = data.content diff --git a/src/mixins/crud.js b/src/mixins/crud.js index 4df5c3b..4cbb8b0 100644 --- a/src/mixins/crud.js +++ b/src/mixins/crud.js @@ -55,7 +55,6 @@ export default { checkPermission, //通用的搜索方法 async init() { - console.log('回调这个搜索方法吗?'); if (!await this.beforeInit()) { return } diff --git a/src/views/bxg/shop/goods/form.vue b/src/views/bxg/shop/goods/form.vue index bf876ae..b281eaa 100644 --- a/src/views/bxg/shop/goods/form.vue +++ b/src/views/bxg/shop/goods/form.vue @@ -26,7 +26,7 @@ + :value="item.id" :key="item.id" :label="item.brandName" > @@ -357,6 +357,7 @@