time
このコミットが含まれているのは:
コミット
6dc11cac3f
|
@ -36458,7 +36458,7 @@ function PageChangeHandler() {
|
|||
var acc_type = localStorage.getItem('kiki_acc_type');
|
||||
|
||||
if (acc_type && acc != acc_type) {
|
||||
axios__WEBPACK_IMPORTED_MODULE_0___default().get("/".concat(acc, "/logout")).then(function () {
|
||||
axios__WEBPACK_IMPORTED_MODULE_0___default().get("/".concat(acc_type, "/logout")).then(function () {
|
||||
localStorage.removeItem('kiki_acc_type');
|
||||
navigator("/".concat(acc, "/login"));
|
||||
});
|
||||
|
|
|
@ -22,7 +22,7 @@ export default function PageChangeHandler() {
|
|||
let acc = pathname.split('/')[1];
|
||||
let acc_type = localStorage.getItem('kiki_acc_type');
|
||||
if((acc_type && (acc != acc_type))) {
|
||||
axios.get(`/${acc}/logout`)
|
||||
axios.get(`/${acc_type}/logout`)
|
||||
.then(()=>{
|
||||
localStorage.removeItem('kiki_acc_type');
|
||||
navigator(`/${acc}/login`);
|
||||
|
|
新しいイシューから参照