增加商品的品牌管理
This commit is contained in:
@@ -53,7 +53,9 @@ export default {
|
||||
parseTime,
|
||||
downloadFile,
|
||||
checkPermission,
|
||||
//通用的搜索方法
|
||||
async init() {
|
||||
console.log('回调这个搜索方法吗?');
|
||||
if (!await this.beforeInit()) {
|
||||
return
|
||||
}
|
||||
@@ -61,8 +63,11 @@ export default {
|
||||
this.loading = true
|
||||
// 请求数据
|
||||
initData(this.url, this.getQueryParame()).then(data => {
|
||||
console.log('data',data)
|
||||
//商品分类
|
||||
this.cateList = data.cateList
|
||||
this.total = data.totalElements
|
||||
//商品
|
||||
this.data = data.content
|
||||
// time 毫秒后显示表格
|
||||
setTimeout(() => {
|
||||
|
||||
Reference in New Issue
Block a user