徐勤民 3 недель назад
Родитель
Сommit
ecac83078a
2 измененных файлов: 12 добавлений и 3 удалений
  1. +5
    -1
      app/obfuscation-rules.txt
  2. +7
    -2
      app/src/main/ets/pages/cert/CertHome.ets

+ 5
- 1
app/obfuscation-rules.txt Просмотреть файл

@@ -15,4 +15,8 @@

# Keep options:
# -keep-property-name: specifies property names that you want to keep
# -keep-global-name: specifies names that you want to keep in the global scope
# -keep-global-name: specifies names that you want to keep in the global scope
-enable-property-obfuscation
-enable-toplevel-obfuscation
-enable-filename-obfuscation
-enable-export-obfuscation

+ 7
- 2
app/src/main/ets/pages/cert/CertHome.ets Просмотреть файл

@@ -166,8 +166,13 @@ export struct CertHome {
.height(40)
.fontColor('#333333')
.onClick(() => {
BJCASDK.certManager().drawStamp(this.phone, (result) => {
ToolsHelper.showMessage(result.msg)
BJCASDK.certManager().drawStamp(this.phone, (res) => {
if (res.code === BJCACallMsg.SUCCESS.code && res.data) {
console.log('>>>>>>>>>>', JSON.stringify(res))
this.draw = res.data
} else {
ToolsHelper.showMessage(res.msg)
}
})
})



Загрузка…
Отмена
Сохранить