Explorar o código

Revert "feat: 还是发现会有样式污染,不妥"

This reverts commit f6d52a437cd000f4ba83d69d51887c9a929d0074.
Burt %!s(int64=2) %!d(string=hai) anos
pai
achega
5f241e0d78
Modificáronse 2 ficheiros con 0 adicións e 13 borrados
  1. 0 11
      src/pages/index/Test.vue
  2. 0 2
      src/pages/index/index.vue

+ 0 - 11
src/pages/index/Test.vue

@@ -1,11 +0,0 @@
-<template>
-  <view class="content">
-    <view class="text-green-500">test</view>
-  </view>
-</template>
-
-<style>
-.content {
-  font-size: 40rpx;
-}
-</style>

+ 0 - 2
src/pages/index/index.vue

@@ -8,14 +8,12 @@
       Demo Count: {{ countStore.count }}
       <button class="ml-2" @click="countStore.increment">新增</button>
     </view>
-    <Test />
   </view>
 </template>
 
 <script setup lang="ts" name="TestIndex">
 import { ref } from 'vue'
 import { useCountStore } from '@/store/count'
-import Test from './Test.vue'
 
 const countStore = useCountStore()
 const title = ref('Hello')