|
|
@@ -187,20 +187,10 @@ function onGuestClick() {
|
|
|
}
|
|
|
|
|
|
function onLineService() {
|
|
|
- if (!localStorage.getItem('youke_token')) {
|
|
|
- userGuestRegister().then((res) => {
|
|
|
- localStorage.setItem('youke_token', res.data.token);
|
|
|
- router.push({
|
|
|
- name: 'CustomerService',
|
|
|
- query: { GuestMode: 1 }
|
|
|
- });
|
|
|
- })
|
|
|
- } else {
|
|
|
router.push({
|
|
|
name: 'CustomerService',
|
|
|
query: { GuestMode: 1 }
|
|
|
});
|
|
|
- }
|
|
|
}
|
|
|
|
|
|
function onLoginClick() {
|