linwenxin 6 bulan lalu
induk
melakukan
e5bd587b65

+ 4 - 1
src/views/setting/notification/networkNotification/index.vue

@@ -468,11 +468,14 @@ export default {
       })
     },
     operation2() {
+      if (JSON.parse(localStorage.getItem('greemall_user')).type != 0) {
+        return undefined
+      }
       return this.operationBtn({
         details: {
           name: '接收',
           conditions: ({ row, index, column }) => {
-            return row.readFlag == 'NO'
+            return row.readFlag == 'NO' && JSON.parse(localStorage.getItem('greemall_user')).type == 0
           },
           click: ({ row, index, column }) => {
             noticeWebsitMarkReadOne({