瀏覽代碼

预览图片

lifanagju_citu 2 月之前
父節點
當前提交
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()