瀏覽代碼

no message

linwenxin 6 月之前
父節點
當前提交
e5bd587b65
共有 1 個文件被更改,包括 4 次插入1 次删除
  1. 4 1
      src/views/setting/notification/networkNotification/index.vue

+ 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({