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);