@@ -63,6 +63,10 @@ const user = {
commit('DEL_ALL_TAG');
commit('CLEAR_LOCK');
}
+ getButtons().then(res => {
+ const pdata = res.data.data;
+ commit('SET_PERMISSION', pdata);
+ })
resolve();
}).catch(error => {
reject(error);