|
@@ -7,6 +7,7 @@
|
|
|
import { onMounted } from 'vue'
|
|
import { onMounted } from 'vue'
|
|
|
import RichEdit from './component/editeDemo.vue'
|
|
import RichEdit from './component/editeDemo.vue'
|
|
|
onMounted(() => {
|
|
onMounted(() => {
|
|
|
|
|
+ document.title = '富文本编辑器'
|
|
|
const isIOS = !!navigator.userAgent.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/)
|
|
const isIOS = !!navigator.userAgent.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/)
|
|
|
const isAndroid = navigator.userAgent.includes('Android') || navigator.userAgent.includes('Linux') // g
|
|
const isAndroid = navigator.userAgent.includes('Android') || navigator.userAgent.includes('Linux') // g
|
|
|
if (isIOS || isAndroid) {
|
|
if (isIOS || isAndroid) {
|