haoxuan
2023-08-31 401524fb5661d57ffb2229d683fe4de85b65fd1c
src/pages/desktop/index/App.vue
@@ -86,7 +86,7 @@
        if (rsp && rsp.success) {
          _that.$store.state.desktop.docks = [];
          let installedApps = [];
          rsp.data
          rsp.data.forEach(function (item) {
            if (item.installed) {
              let temp = {
@@ -110,7 +110,7 @@
                width: item.width,
                isDefault: item.isDefault
              }
              // 判断权限
              if (_that.isAdmin || _that.buttonAuthority.indexOf(item.package) >= 0) {
                _that.$store.commit('desktop/addDock', temp);