refactor: 统一 setup 格式

This commit is contained in:
xingyu
2023-06-21 19:35:11 +08:00
parent 9ac17b3ce2
commit c1a4edf7b1
128 changed files with 128 additions and 128 deletions

View File

@ -19,7 +19,7 @@
</div>
</template>
<script setup lang="ts">
<script lang="ts" setup>
const props = defineProps<{
list: any[]
loading: boolean

View File

@ -18,7 +18,7 @@
</template>
</el-upload>
</template>
<script setup lang="ts">
<script lang="ts" setup>
import type { UploadProps, UploadUserFile } from 'element-plus'
import {
HEADERS,

View File

@ -47,7 +47,7 @@
</el-dialog>
</template>
<script setup lang="ts">
<script lang="ts" setup>
import type {
FormInstance,
FormRules,

View File

@ -38,7 +38,7 @@
</el-table>
</template>
<script setup lang="ts">
<script lang="ts" setup>
import WxVideoPlayer from '@/views/mp/components/wx-video-play'
import { dateFormatter } from '@/utils/formatTime'

View File

@ -36,7 +36,7 @@
</el-table>
</template>
<script setup lang="ts">
<script lang="ts" setup>
import WxVoicePlayer from '@/views/mp/components/wx-voice-play'
import { dateFormatter } from '@/utils/formatTime'