zhb 1 неделя назад
Родитель
Сommit
a2644ff282
3 измененных файлов с 0 добавлено и 8 удалено
  1. 0 2
      pages/customer/create-account.vue
  2. 0 3
      pages/login/index.vue
  3. 0 3
      pages/login/regist.vue

+ 0 - 2
pages/customer/create-account.vue

@@ -619,8 +619,6 @@ onLoad((e) => {
     dome.value = e.server == 'demo'
     dome.value = e.server == 'demo'
     cativeIndex.value = e.server
     cativeIndex.value = e.server
     isOpenAccount.value = e.id
     isOpenAccount.value = e.id
-    const host = window?.location?.host || '';
-    ho.value = host.split('.')[1] || '';
 
 
     getExcludeShowLogin();
     getExcludeShowLogin();
     getMustData(isOpenAccount.value, dome.value);
     getMustData(isOpenAccount.value, dome.value);

+ 0 - 3
pages/login/index.vue

@@ -865,9 +865,6 @@ onMounted(() => {
   // 注册表单初始化
   // 注册表单初始化
   getCountry()
   getCountry()
   getCountryMsg()
   getCountryMsg()
-
-  const hostParts = window.location.host.split('.')
-  ho.value = hostParts.length > 1 ? hostParts[1] : ''
   globalStore.setMode(ls.get('mode') || 'customer');
   globalStore.setMode(ls.get('mode') || 'customer');
 })
 })
 const inputType = ref('password')
 const inputType = ref('password')

+ 0 - 3
pages/login/regist.vue

@@ -580,9 +580,6 @@ const getLoginInfo = async () => {
 onMounted(() => {
 onMounted(() => {
   getCountry()
   getCountry()
   getCountryMsg()
   getCountryMsg()
-
-  const hostParts = window.location.host.split('.')
-  ho.value = hostParts.length > 1 ? hostParts[1] : ''
 })
 })
 
 
 </script>
 </script>