src/pages/desktop/index/App.vue
@@ -68,7 +68,7 @@ icon: '/images/desktop/message.png', tip: '消息', title: 'SmartAI', body: config.version, body: 'V' + config.version, time: new Date() }, true); }, 1000); @@ -86,6 +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 = { @@ -109,7 +110,7 @@ width: item.width, isDefault: item.isDefault } // 判断权限 if (_that.isAdmin || _that.buttonAuthority.indexOf(item.package) >= 0) { _that.$store.commit('desktop/addDock', temp);