begmoon 2 years ago
parent
commit
1a5fdbc20d
1 changed files with 0 additions and 7 deletions
  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,