@@ -1,11 +1,6 @@
const content = {
pageNumber: 1,
- pageTotal: 1,
- where: {
- condition: "",
- itemclassid: "",
- tradefield: ""
- }
+ pageTotal: 1
},
_Http = getApp().globalData.http;
let sa_brandid = null,
@@ -22,6 +17,11 @@ Component({
methods: {
init() {
+ content.where = {
+ condition: "",
+ itemclassid: "",
+ tradefield: ""
+ }
this.getBrand();
this.getTradefie();
this.setData({
@@ -134,7 +134,6 @@ Component({
content.where.condition = detail;
this.getList(true)
-
/* 获取领域 */
getTradefie() {
_Http.basic({