code: remove some invalid

This commit is contained in:
ShawnPhang 2024-03-11 02:28:42 +08:00
parent c4fa43e9bb
commit 1b66964bda
8 changed files with 8 additions and 8 deletions

View File

@ -45,7 +45,7 @@ import { defineComponent } from 'vue'
import { useMatting, useMattingBoard } from './composables/use-matting'
import useMattingCursor from './composables/use-matting-cursor'
import { RADIUS_SLIDER_MIN, RADIUS_SLIDER_MAX, RADIUS_SLIDER_STEP, HARDNESS_SLIDER_MAX, HARDNESS_SLIDER_STEP, HARDNESS_SLIDER_MIN, EventType, DEFAULT_MASK_COLOR } from './constants'
import { ref, onMounted, Ref, computed, nextTick, watch, defineExpose, onUnmounted } from 'vue'
import { ref, onMounted, Ref, computed, nextTick, watch, onUnmounted } from 'vue'
import { generateResultImageURL, getLoadedImage } from './helpers/dom-helper'
export default defineComponent({

View File

@ -22,7 +22,7 @@ exports.servicePort = serviceComfig.port
/**
*
*/
exports.drawLink = isDev ? 'http://localhost:3000/draw' : serviceComfig.website + '/draw'
exports.drawLink = isDev ? 'http://localhost:5173/draw' : serviceComfig.website + '/draw'
/**
*

View File

@ -22,7 +22,7 @@
<script setup lang="ts">
import api from '@/api'
import { ElDialog } from 'element-plus'
import { ref, defineEmits, reactive, nextTick, toRefs } from 'vue'
import { ref, reactive, nextTick, toRefs } from 'vue'
import { useStore } from 'vuex'
import 'cropperjs/dist/cropper.css'
import Cropper from 'cropperjs'

View File

@ -40,7 +40,7 @@
</template>
<script lang="ts" setup>
import { reactive, nextTick, defineEmits, ref } from 'vue'
import { reactive, nextTick, ref } from 'vue'
import { useStore } from 'vuex'
import { ElProgress } from 'element-plus'
import { UploadFilled } from '@element-plus/icons-vue'

View File

@ -31,7 +31,7 @@
</template>
<script lang="ts" setup>
import { reactive, defineEmits, defineExpose } from 'vue'
import { reactive } from 'vue'
import { useStore } from 'vuex'
import { ElTabPane, ElTabs, TabPaneName } from 'element-plus'
import api from '@/api'

View File

@ -21,7 +21,7 @@
</template>
<script lang="ts" setup>
import { reactive, ref, defineExpose } from 'vue'
import { reactive, ref } from 'vue'
import api from '@/api'
import { useStore } from 'vuex'
import { LocationQueryValue, useRoute, useRouter } from 'vue-router'

View File

@ -40,7 +40,7 @@
<script lang="ts" setup>
import api from '@/api'
import { toRefs, reactive, watch, onMounted, nextTick, defineProps, defineEmits, defineExpose } from 'vue'
import { toRefs, reactive, watch, onMounted, nextTick } from 'vue'
import { ElRadioGroup, ElRadioButton } from 'element-plus'
import wSvg from '@/components/modules/widgets/wSvg/wSvg.vue'
import { TGetListResult } from '@/api/material';

View File

@ -91,7 +91,7 @@ type TState = {
const props = withDefaults(defineProps<TProps>(), {
label: '',
modelValue: () => ({}),
suffic: '',
suffix: '',
data: () => ({}),
disable: true,
inputWidth: '80px',