Skip to content

Commit

Permalink
fix(toolkits/pro) remove the old import syntax of defineProps (open…
Browse files Browse the repository at this point in the history
  • Loading branch information
fengyon committed Feb 2, 2024
1 parent fd46bb1 commit a20d46f
Show file tree
Hide file tree
Showing 13 changed files with 5 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</template>

<script lang="ts" setup>
import { PropType, defineProps } from 'vue';
import { PropType } from 'vue';
import {
Breadcrumb as TinyBreadcrumb,
BreadcrumbItem as TinyBreadcrumbItem,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
</template>

<script lang="ts" setup>
import { ref, defineEmits, defineProps } from 'vue';
import { ref, defineEmits } from 'vue';
import { useI18n } from 'vue-i18n';
import {
Input as TinyInput,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@
computed,
defineEmits,
defineExpose,
defineProps,
} from 'vue';
import { useI18n } from 'vue-i18n';
import {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
</template>

<script lang="ts" setup>
import { reactive, toRefs, defineProps } from 'vue';
import { reactive, toRefs } from 'vue';
import {
Layout as TinyLayout,
Form as TinyForm,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@
ref,
reactive,
toRefs,
defineProps,
computed,
defineExpose,
} from 'vue';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,6 @@
ref,
reactive,
toRefs,
defineProps,
computed,
defineExpose,
} from 'vue';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,6 @@
import {
ref,
reactive,
defineProps,
computed,
defineExpose,
toRefs,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@
import {
ref,
reactive,
defineProps,
computed,
defineExpose,
toRefs,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
</template>

<script lang="ts" setup>
import { defineProps } from 'vue';
import {
Grid as TinyGrid,
GridColumn as TinyGridColumn,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@
</template>

<script lang="ts" setup>
import { defineProps } from 'vue';
import tip1 from '@/assets/images/tip1.png';
import tip2 from '@/assets/images/tip2.png';
import tip3 from '@/assets/images/tip3.png';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
</template>

<script lang="ts" setup>
import { defineProps, ref } from 'vue';
import { ref } from 'vue';
import { useI18n } from 'vue-i18n';
import { Button as TinyButton, Modal } from '@opentiny/vue';
import { useUserStore } from '@/store';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@
</template>

<script lang="ts" setup>
import { defineProps } from 'vue';
import {
GridColumn as TinyGridColumn,
Grid as TinyGrid,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
</template>

<script lang="ts" setup>
import { ref, reactive, defineProps, computed, defineExpose } from 'vue';
import { ref, reactive, computed, defineExpose } from 'vue';
import { useI18n } from 'vue-i18n';
import {
Select as TinySelect,
Expand Down

0 comments on commit a20d46f

Please sign in to comment.