begmoon 2 年之前
父節點
當前提交
1a5fdbc20d
共有 1 個文件被更改,包括 0 次插入7 次删除
  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,