From 40464254ce95394c8c0c72734a33f39117f2bba7 Mon Sep 17 00:00:00 2001
From: sj <1304317391@qq.com>
Date: Sat, 17 Sep 2022 18:42:33 +0800
Subject: [PATCH] =?UTF-8?q?=E5=95=86=E5=93=81=E7=9A=84=E5=93=81=E7=89=8C?=
=?UTF-8?q?=E7=AE=A1=E7=90=86=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/components/Crud/crud.js | 1 -
src/mixins/crud.js | 1 -
src/views/bxg/shop/goods/form.vue | 22 +++++++++++++++++++---
src/views/bxg/shop/goods/index.vue | 3 ++-
src/views/bxg/shop/storeBrand/index.vue | 7 +++++--
5 files changed, 26 insertions(+), 8 deletions(-)
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 @@