dengrui преди 9 месеца
родител
ревизия
06797c184c
променени са 1 файла, в които са добавени 0 реда и са изтрити 8 реда
  1. 0 8
      src/views/pro-steps/components/zhiyin.vue

+ 0 - 8
src/views/pro-steps/components/zhiyin.vue

@@ -200,14 +200,6 @@ watch(
   },
   { deep: true }
 );
-const body1Width = ref(0);
-onMounted(() => {
-  body1Width.value = document.getElementById("body1").clientWidth;
-  window.onresize = function () {
-    body1Width.value = document.getElementById("body1").clientWidth;
-    pageKey.value = !pageKey.value;
-  };
-});
 </script>
 
 <style lang="scss" scoped>