Prechádzať zdrojové kódy

营销物料修改根目录ID

zhaoxiaohai 2 rokov pred
rodič
commit
d1e25d11d3

+ 2 - 2
pages/tabbar/smartStore/modules/viewPage.js

@@ -36,9 +36,10 @@ Component({
         show: false, //显示底部弹出
         fileSelected: {}, //选中文件详情
         content: { //请求搜索条件
+            "nocache": true,
             "pageNumber": 1,
             "pageSize": 20,
-            "parentid": 1,
+            "parentid": wx.getStorageSync('siteP').salematerialfolderid,
             "pageTotal": 1,
             "where": {
                 "condition": ""
@@ -111,7 +112,6 @@ Component({
             if (this.data.content.pageNumber > this.data.content.pageTotal) return;
             let content = this.data.content;
             if (this.data.sort[0]) content.sort = this.data.sort;
-            console.log(content)
             _Http.basic({
                 "classname": "saletool.salematerial.salematerial",
                 "method": (this.data.tabActiveTitle == '列表') ? "selectList" : "selectMyList",