Explorar el Código

feat: tsx支持

lvkun996 hace 3 años
padre
commit
177bda65c9
Se han modificado 2 ficheros con 3 adiciones y 1 borrados
  1. 1 0
      src/components/index.tsx
  2. 2 1
      src/pages/Iot/model/index.vue

+ 1 - 0
src/components/index.tsx

@@ -0,0 +1 @@
+export const AppTsx = () => <a-button type="primary" >vue3.0</a-button>

+ 2 - 1
src/pages/Iot/model/index.vue

@@ -13,11 +13,12 @@
       :pro-able="['add']"
     />
   </a-card>
+  <AppTsx />
 </template>
 
 <script lang="ts" setup >
 import { CommonController, ModelController } from '@/controller/index'
-
+import { AppTsx } from '@/components/index'
 const columns = [
   {
     title: '模型名称',