remove unnecessary vue imports
> `defineProps` and `defineEmits` are compiler macros only usable inside > `<script setup>`. They do not need to be imported, and are compiled away > when `<script setup>` is processed. -- https://vuejs.org/api/sfc-script-setup.html#defineprops-defineemits
This commit is contained in:
parent
6ce4b3fe2f
commit
3e7285c8d5
2 changed files with 2 additions and 2 deletions
|
@ -29,7 +29,7 @@
|
|||
</template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
import { reactive, defineProps } from 'vue';
|
||||
import { reactive } from 'vue';
|
||||
import number from '@/filters/number';
|
||||
|
||||
const props = defineProps<{
|
||||
|
|
|
@ -40,7 +40,7 @@
|
|||
</template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
import { defineAsyncComponent, watch, defineEmits, onMounted, nextTick } from 'vue';
|
||||
import { defineAsyncComponent, watch, onMounted, nextTick } from 'vue';
|
||||
import * as os from '@/os';
|
||||
import { menuDef } from '@/menu';
|
||||
import { openAccountMenu, $i, iAmModerator } from '@/account';
|
||||
|
|
Loading…
Reference in a new issue