zydx-plus 1.33.438 → 1.33.439
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 +1 -1
- package/src/components/paint/src/paint.vue +12 -3
- package/src/index.js +1 -1
package/package.json
CHANGED
|
@@ -111,6 +111,7 @@
|
|
|
111
111
|
<script>
|
|
112
112
|
import Sketchpad from '../../sketchpad/src/sketchpad'
|
|
113
113
|
import dragPopup from '../../dragPopup/src/dragPopup'
|
|
114
|
+
import Mess from '../../tipBox/index'
|
|
114
115
|
|
|
115
116
|
let stayTime = 0
|
|
116
117
|
let timer = null
|
|
@@ -240,9 +241,17 @@ export default {
|
|
|
240
241
|
},
|
|
241
242
|
methods: {
|
|
242
243
|
exportTap() {
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
244
|
+
Mess({
|
|
245
|
+
type: 'text',
|
|
246
|
+
cancelShow: false,
|
|
247
|
+
promptContent: '保存白板后,白板内容将无法再做修改'
|
|
248
|
+
}).then((res) => {
|
|
249
|
+
this.$refs.sketchpad.exportImg().then(res => {
|
|
250
|
+
document.body.style.overflow = 'visible'
|
|
251
|
+
this.$emit('exportImg', res)
|
|
252
|
+
})
|
|
253
|
+
}).catch(() => {
|
|
254
|
+
console.log('取消')
|
|
246
255
|
})
|
|
247
256
|
},
|
|
248
257
|
// 添加公式图片
|