begmoon 2 éve
szülő
commit
1a5fdbc20d
1 módosított fájl, 0 hozzáadás és 7 törlés
  1. 0 7
      pages/upload/upload.js

+ 0 - 7
pages/upload/upload.js

@@ -218,13 +218,6 @@ Page({
     })
   },
   post(){
-    if (this.data.role == 1) {
-      wx.showToast({
-        icon: 'none',
-        title: '游客不能提交作业'
-      })
-      return
-    }
     if (!this.data.need_fill) {
       var parm = {
         stock_date: this.data.stock_date,