| | |
| | | ></div> |
| | | </div> |
| | | </div> |
| | | <div class="list-box" v-loading="scribeData.loading"> |
| | | <div class="list-box"> |
| | | <div v-if="scribeData.noteList.length > 0 && !scribeData.loading"> |
| | | <div v-for="(item, index) in scribeData.noteList" :key="item.key" class="listItem"> |
| | | <div class="textBox"> |
| | |
| | | import useClipboard from 'vue-clipboard3' |
| | | const { toClipboard } = useClipboard() |
| | | const request = inject('request') |
| | | const qiankunActions = inject('qiankunActions') |
| | | //获取路由器 |
| | | let router = useRouter() |
| | | //获取当前路由的信息 |
| | |
| | | window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth |
| | | ) |
| | | onMounted(() => { |
| | | console.log(1111); |
| | | |
| | | // canvasWith.value = window.innerWidth - 540 |
| | | // canvasheight.value = window.innerHeight - 110 |
| | | getNotesList() // 获取高亮 |
| | |
| | | window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth |
| | | })() |
| | | } |
| | | |
| | | console.log(qiankunActions,"qiankunActions"); |
| | | |
| | | qiankunActions.setGlobalState({ |
| | | cc: (data) => { |
| | | console.log(data); |
| | | } |
| | | }) |
| | | }) |
| | | |
| | | watch( |
| | |
| | | } |
| | | }).then((res) => { |
| | | if (res && res.length > 0 && res[0].value) { |
| | | scribeData.loading = false |
| | | dialogToolData.notesList = JSON.parse(res[0].value) |
| | | let list = JSON.parse(res[0].value) |
| | | let textDom1 = document.getElementById('container') |
| | |
| | | }) |
| | | } |
| | | } |
| | | |
| | | scribeData.loading = false |
| | | }) |
| | | } |
| | | //划线 |