ui-ddy-pc 0.0.1 → 0.0.3-beta

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/index.js CHANGED
@@ -1,4 +1,4 @@
1
- // import TopTable from "./src/components/topTable/topTable.vue";
1
+ import TopTable from "./src/components/topTable/topTable.vue";
2
2
  import TopSign from "./src/components/topSign/topSign.vue";
3
3
 
4
- export { TopSign };
4
+ export { TopSign, TopTable };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ui-ddy-pc",
3
- "version": "0.0.1",
3
+ "version": "0.0.3-beta",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "dev": "vite",
@@ -82,13 +82,13 @@ export default {
82
82
  this.ctx.clearRect(0, 0, this.$refs.canvasRef.width, this.$refs.canvasRef.height);
83
83
  this.signatureImage = '';
84
84
  this.paths = []; // 清空路径记录
85
+ this.$emit('saveSignature', '', false)
85
86
  },
86
87
 
87
88
  saveSignature() {
88
89
  // toDo: uni框架转成的base64无type前缀 需统一
89
90
  this.signatureImage = this.$refs.canvasRef.toDataURL();
90
- this.$emit('saveSignature', this.signatureImage)
91
-
91
+ this.$emit('saveSignature', this.signatureImage, true)
92
92
  },
93
93
  isUniCanvas() {
94
94
  return this.$refs.canvasRef?.getContext ? false : true
package/ui-ddy-pc.zip DELETED
Binary file