n20-common-lib 2.15.10 → 2.15.11
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
package/src/plugins/Sign/sign.js
CHANGED
|
@@ -174,11 +174,7 @@ function verifyDn(dnList, dn) {
|
|
|
174
174
|
})
|
|
175
175
|
if (index === -1) {
|
|
176
176
|
let dnList = dnList?.map((res) => res.certDN)?.join(',')
|
|
177
|
-
Message({
|
|
178
|
-
type: 'error',
|
|
179
|
-
text: `证书Dn不匹配:${dnList}里面无法匹配===>${dn}`,
|
|
180
|
-
duration: 5000
|
|
181
|
-
})
|
|
177
|
+
Message.error(`证书Dn不匹配:${dnList}里面无法匹配===>${dn}`)
|
|
182
178
|
return index
|
|
183
179
|
}
|
|
184
180
|
return index
|
|
@@ -180,11 +180,7 @@ function verifyDn(dnList, dn) {
|
|
|
180
180
|
}
|
|
181
181
|
if (index === -1) {
|
|
182
182
|
let dnListB = dnList?.map((res) => res.certDN)?.join(',')
|
|
183
|
-
Message({
|
|
184
|
-
type: 'error',
|
|
185
|
-
text: `证书Dn不匹配:${dnListB}里面无法匹配===>${dn}`,
|
|
186
|
-
duration: 5000
|
|
187
|
-
})
|
|
183
|
+
Message.error(`证书Dn不匹配:${dnListB}里面无法匹配===>${dn}`)
|
|
188
184
|
return index
|
|
189
185
|
}
|
|
190
186
|
return index
|