Commit 6ae155e9 by 乔延琦

Merge branch 'fix-signature' into 'develop'

fix(@gms/gms-plugin-billexpand): 读取settings的时候额外判断一下避免报错

See merge request GFP/RBC/rbc-frontend!165
parents 24b98d4b a7fc922b
...@@ -50,9 +50,10 @@ export default { ...@@ -50,9 +50,10 @@ export default {
mounted() { mounted() {
this.tagId = window.nros.getCurrTag() this.tagId = window.nros.getCurrTag()
window.GMS.vbus.$on(GLOBAL_EVENT.VERIFY_SIGNATURE_FAIL, this.loadVerifiedImage) window.GMS.vbus.$on(GLOBAL_EVENT.VERIFY_SIGNATURE_FAIL, this.loadVerifiedImage)
let protectFields = let protectFields =
this.context.settings.content.signatureConfig this.context.settings
&& this.context.settings.content
&& this.context.settings.content.signatureConfig
&& this.context.settings.content.signatureConfig.fields && this.context.settings.content.signatureConfig.fields
const masterTableName = this.context.bill.getTableType('masterName').name const masterTableName = this.context.bill.getTableType('masterName').name
if (!protectFields || !protectFields.length) { if (!protectFields || !protectFields.length) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment