소스 검색

注释分享链接生成

lifanagju_citu 9 달 전
부모
커밋
b789ad4a12
1개의 변경된 파일5개의 추가작업 그리고 5개의 파일을 삭제
  1. 5 5
      src/views/recruit/personal/position/components/details.vue

+ 5 - 5
src/views/recruit/personal/position/components/details.vue

@@ -141,7 +141,7 @@
 <script setup>
 defineOptions({ name: 'position-details' })
 import { commissionCalculation } from '@/utils/position'
-import { computed, ref } from 'vue'
+import { ref } from 'vue'
 import { useRouter } from 'vue-router'
 import { timesTampChange } from '@/utils/date'
 import { getPersonResumeCv, savePersonResumeCv } from '@/api/recruit/personal/resume'
@@ -272,10 +272,10 @@ const handleShare = async () => {
 }
 
 // 复制分享链接
-const accessUrl = import.meta.env.VITE_ACCESS_BASE_URL
-const shareUrlTxt = computed(() => {
-  return accessUrl + shareUrl.value
-})
+// const accessUrl = import.meta.env.VITE_ACCESS_BASE_URL
+// const shareUrlTxt = computed(() => {
+//   return accessUrl + shareUrl.value
+// })
 // const copyText = () => {
 //   Snackbar.success('复制成功')
 // }