lifanagju_citu 2 месяцев назад
Родитель
Сommit
0cdc5796d1
1 измененных файлов с 11 добавлено и 2 удалено
  1. 11 2
      pagesA/student/internshipReport.vue

+ 11 - 2
pagesA/student/internshipReport.vue

@@ -56,14 +56,23 @@ const getList = async () => {
 	} catch {}
 }
 
+// 预览图片
+const previewImage = (url, i) => {
+  uni.previewImage({
+    current: i,
+    urls: url,
+    longPressActions : {
+    itemList: ['发送给朋友', '保存图片', '收藏']
+    }
+  })
+}
+
 onShow(() => {
-  console.log('onShow:', 789)
   getCompanyList()
   getList()
 })
 
 onLoad((options) => {
-  console.log('onLoad:', 789)
   if (options.enterpriseId) {
     enterpriseId.value = options.enterpriseId
     getList()