This commit is contained in:
2026-08-26 15:10:25 +08:00
parent 06debfd1fc
commit fc9613197b
202 changed files with 28919 additions and 5551 deletions
@@ -57,7 +57,16 @@ module.exports = {
},
save() {
if (signature.isEmpty()) {
alert("请签字后再保存")
// H5 页面使用统一的 Vant 提示;未加载 Vant 的独立签字页保留原生提示作为兼容兜底。
if (typeof this.$toast === "function") {
this.$toast({
message: "请先完成手写签名",
icon: "edit",
duration: 2000
})
} else {
alert("请先完成手写签名")
}
return
}
// const png = signature.getPNG()