|
@@ -60,6 +60,7 @@
|
|
const de = require('@/utils/lib1.js')
|
|
const de = require('@/utils/lib1.js')
|
|
import enc from '@/utils/enc.js'
|
|
import enc from '@/utils/enc.js'
|
|
import { mapGetters } from 'vuex'
|
|
import { mapGetters } from 'vuex'
|
|
|
|
+import OptionViewVue from './Chart/OptionView.vue'
|
|
|
|
|
|
export default {
|
|
export default {
|
|
name: 'AddImgBox',
|
|
name: 'AddImgBox',
|
|
@@ -92,13 +93,16 @@ export default {
|
|
this.importAll(require.context('../assets/HT_resource/Openclipart', true, /\.png$/), this.images)
|
|
this.importAll(require.context('../assets/HT_resource/Openclipart', true, /\.png$/), this.images)
|
|
this.importAll(require.context('../assets/HT_resource/Backgrounds', true, /\.jpg$/), this.bgImages)
|
|
this.importAll(require.context('../assets/HT_resource/Backgrounds', true, /\.jpg$/), this.bgImages)
|
|
let that=this
|
|
let that=this
|
|
- document.addEventListener('paste',()=> {
|
|
|
|
- that.getClipboardData()
|
|
|
|
- that.$nextTick(()=>{
|
|
|
|
- setTimeout(()=>{
|
|
|
|
- that.pastContent()
|
|
|
|
- },500)
|
|
|
|
- })
|
|
|
|
|
|
+ document.addEventListener('paste',()=> {
|
|
|
|
+ const isShowTextAnsPop=this?.$optionView?.showTextAnspop
|
|
|
|
+ if(!this.$store.state.showtextInuptCard&&!isShowTextAnsPop){
|
|
|
|
+ this.$store.state.mode = 'check'
|
|
|
|
+ that.getClipboardData()
|
|
|
|
+ that.$nextTick(()=>{
|
|
|
|
+ setTimeout(()=>{
|
|
|
|
+ that.pastContent()
|
|
|
|
+ },500)
|
|
|
|
+ })}
|
|
})
|
|
})
|
|
},
|
|
},
|
|
watch: {
|
|
watch: {
|