sale-client 4.0.50-preview → 4.0.52-preview

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.
@@ -1,7 +1,7 @@
1
1
  var path = require('path')
2
2
  var checkVersion = require('./versionCheck.js')
3
3
  checkVersion()
4
- const [ serverRul, localUrl, v4Url ] = ['http://192.168.50.4:8400/', 'http://localhost:8080', 'http://localhost:9026/']
4
+ const [ serverRul, localUrl, v4Url ] = ['http://192.168.50.4:8400/', 'http://192.168.50.4:8400/', 'http://localhost:9026/']
5
5
  var merge = require('webpack-merge')
6
6
  var baseConfig = require('./webpack.dev.conf')
7
7
  var devConfig = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sale-client",
3
- "version": "4.0.50-preview",
3
+ "version": "4.0.52-preview",
4
4
  "description": "收费模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -732,6 +732,11 @@ export default {
732
732
  },
733
733
  //街道变化
734
734
  async streetChange(val){
735
+ if (typeof val !== 'number') {
736
+ console.error('Invalid input: expected an integer.')
737
+ return
738
+ }
739
+ console.log("街道变化",val)
735
740
  if(val){
736
741
  await this.initcommunity(` f_filialeid = '${this.f_filialeids}' and f_street_id ='${val}' `)
737
742
  if(this.model.f_community_id){