jufubao-base 1.0.145 → 1.0.146

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jufubao-base",
3
- "version": "1.0.145",
3
+ "version": "1.0.146",
4
4
  "private": false,
5
5
  "description": "聚福宝业务组件基础插件包",
6
6
  "main": "index.js",
@@ -391,6 +391,10 @@ export default {
391
391
  },
392
392
 
393
393
  setReceiptRegionName() {
394
+ console.log(this.level,'apapappap');
395
+ this.city_name = this.city_name.splice(0, this.level+1);
396
+ this.city_code = this.city_code.splice(0, this.level+1);
397
+ // this.city_selected_data = this.city_selected_data.splice(0, this.level+1);
394
398
  this.receipt_region_name = this.city_name.join(this.citySeparator);
395
399
  },
396
400
 
@@ -423,10 +427,10 @@ export default {
423
427
  },
424
428
 
425
429
  selectCity(item) {
430
+ console.log(this.maxLevel,'this.maxLevel');
426
431
  if (this.level < this.maxLevel - 1) {
427
432
  this.level++;
428
433
  }
429
-
430
434
  //保存信息
431
435
  this.$set(this.city_name, this.level, item.label);
432
436
  this.$set(this.city_code, this.level, item.value);