safecheck-client 3.0.39-8 → 3.0.39-9

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,7 +1,7 @@
1
1
  {
2
2
  "name": "safecheck-client",
3
3
  "//": "主分支版本别乱升,测试包的版本直接发包(建议使用1.XX.XX-XXX格式作为测试包,不要频繁升级第三位版本号),别提交版本号。切了分支切记把主分支版本升了,保证主分支始终是最高版本!!!!!",
4
- "version": "3.0.39-8",
4
+ "version": "3.0.39-9",
5
5
  "description": "安检模块 前端组件",
6
6
  "author": "丁新 <417755458@qq.com>",
7
7
  "license": "ISC",
@@ -1253,7 +1253,10 @@ export default {
1253
1253
  let limit_value = 3
1254
1254
  let limit_amount = 54
1255
1255
  let limit_type = '金额'
1256
- const safeCheckConfig = Vue.config.safecheck?.ApproveConfig
1256
+ let safeCheckConfig = null
1257
+ if (Vue.config.safecheck && Vue.config.safecheck.ApproveConfig){
1258
+ safeCheckConfig = Vue.config.safecheck.ApproveConfig
1259
+ }
1257
1260
  if (safeCheckConfig && safeCheckConfig.limit_amount !== undefined && safeCheckConfig.limit_amount !== null) {
1258
1261
  limit_amount = safeCheckConfig.limit_amount
1259
1262
  }