Browse Source

编辑放在职位详情中

lifanagju_citu 1 tháng trước cách đây
mục cha
commit
9d170761bb
1 tập tin đã thay đổi với 7 bổ sung7 xóa
  1. 7 7
      components/PositionList/index.vue

+ 7 - 7
components/PositionList/index.vue

@@ -185,13 +185,13 @@ const closeJob = async () => {
 }
 }
 
 
 // 编辑职位
 // 编辑职位
-const handleEdit = async (val) => {
-  if (!val.id || !val.edit) {
-    uni.showToast({ title: '职位发布时间超过24小时的不支持编辑', icon: 'none', duration: 2000 })
-    return
-  }
-  uni.navigateTo({ url: `/pagesB/positionEdit/index?jobId=${val.id}` })
-}
+// const handleEdit = async (val) => {
+//   if (!val.id || !val.edit) {
+//     uni.showToast({ title: '职位发布时间超过24小时的不支持编辑', icon: 'none', duration: 2000 })
+//     return
+//   }
+//   uni.navigateTo({ url: `/pagesB/positionEdit/index?jobId=${val.id}` })
+// }
 
 
 // 职位详情
 // 职位详情
 const handleDetail = (item) => {
 const handleDetail = (item) => {