zhb 1 mesiac pred
rodič
commit
ff3032cd84
1 zmenil súbory, kde vykonal 1 pridanie a 15 odobranie
  1. 1 15
      pages/common/chat.vue

+ 1 - 15
pages/common/chat.vue

@@ -16,23 +16,9 @@ import Config from '@/config/index'
 const { Host80 } = Config
 import getWebBase from '@/utils/webBase'
 const webBase = getWebBase()
-import { useI18n } from 'vue-i18n'
-const { t } = useI18n()
 const fileUrl = ref('')
-const title = ref('')
-const pageTitle = computed(() => t(title.value))
-const fileType = ref('')
-// 获取文件后缀
-const getFileExt = (name) => {
-  if (!name) return ''
-  return name.split('.').pop()?.toUpperCase()
-}
 onLoad((options) => {
-  title.value = options.title || '文件预览'
-  fileUrl.value = `/iframe/livechat.html`
-  console.log(fileUrl.value, 1212);
-
-
+  fileUrl.value = `${Host80}${webBase}iframe/pdf.html`
 })
 </script>