|
@@ -57,9 +57,10 @@ export default {
|
|
|
this.getList(true)
|
|
|
},
|
|
|
init(callBack) {
|
|
|
- callBack()
|
|
|
- this.getList(true)
|
|
|
- this.updatePage = false;
|
|
|
+ Promise.all([this.getList(true)]).then(res => {
|
|
|
+ callBack()
|
|
|
+ this.updatePage = false;
|
|
|
+ })
|
|
|
},
|
|
|
async openFiltrate() {
|
|
|
if (this.filtrateList.length == 0) {
|
|
@@ -126,6 +127,7 @@ export default {
|
|
|
parentid: e.下级分类3.sat_sharematerial_classid
|
|
|
})
|
|
|
if (e.分类1 == '') {
|
|
|
+ crumbs.splice(1,crumbs.length - 1)
|
|
|
crumbs.push({
|
|
|
classname:'全部',
|
|
|
parentid: ''
|