fix:remove import defineProps, defineEmits
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
<script setup lang="ts">
|
||||
import {Icon} from "@iconify/vue";
|
||||
import Tooltip from "@/pages/pc/components/base/Tooltip.vue";
|
||||
|
||||
defineEmits(['click'])
|
||||
|
||||
@@ -1,9 +1,7 @@
|
||||
<script setup lang="ts">
|
||||
|
||||
import BaseButton from "@/components/BaseButton.vue";
|
||||
import {onMounted, watch} from "vue";
|
||||
import {useSettingStore} from "@/stores/setting.ts";
|
||||
import {Icon} from "@iconify/vue";
|
||||
import Dialog from "@/pages/pc/components/dialog/Dialog.vue";
|
||||
|
||||
let settingStore = useSettingStore()
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<script setup lang="ts">
|
||||
import {ref, watch, defineProps, defineEmits, useAttrs, onMounted} from 'vue';
|
||||
import {ref, useAttrs, watch} from 'vue';
|
||||
|
||||
const props = defineProps({
|
||||
modelValue: [String, Number],
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<script setup lang="ts">
|
||||
import {ref, computed, watch, defineProps, defineEmits, onMounted, nextTick} from 'vue';
|
||||
import {nextTick, onMounted, ref, watch} from 'vue';
|
||||
|
||||
const props = defineProps<{
|
||||
modelValue: number;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<script setup lang="ts">
|
||||
import {ref, computed, defineProps, defineEmits, watch} from 'vue';
|
||||
import {ref, computed, watch} from 'vue';
|
||||
|
||||
const props = defineProps<{
|
||||
modelValue: boolean;
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import {inject, computed, defineProps} from 'vue'
|
||||
import {inject, computed} from 'vue'
|
||||
|
||||
const props = defineProps({
|
||||
value: [String, Number, Boolean],
|
||||
@@ -92,7 +92,7 @@ function onClick() {
|
||||
background-color: #409eff;
|
||||
}
|
||||
|
||||
.radio__label{
|
||||
.radio__label {
|
||||
color: #409eff;
|
||||
}
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import {defineEmits, defineProps, provide, ref, watch} from 'vue'
|
||||
import {provide, ref, watch} from 'vue'
|
||||
|
||||
const props = defineProps({
|
||||
modelValue: [String, Number, Boolean],
|
||||
|
||||
Reference in New Issue
Block a user