mirror of
https://github.com/palxiao/poster-design.git
synced 2025-06-08 03:19:59 +08:00
code: remove some invalid
This commit is contained in:
parent
c4fa43e9bb
commit
1b66964bda
@ -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({
|
||||
|
@ -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'
|
||||
|
||||
/**
|
||||
* 图片缓存目录位置,根据实际情况调整
|
||||
|
@ -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'
|
||||
|
@ -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'
|
||||
|
@ -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'
|
||||
|
@ -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'
|
||||
|
@ -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';
|
||||
|
@ -91,7 +91,7 @@ type TState = {
|
||||
const props = withDefaults(defineProps<TProps>(), {
|
||||
label: '',
|
||||
modelValue: () => ({}),
|
||||
suffic: '',
|
||||
suffix: '',
|
||||
data: () => ({}),
|
||||
disable: true,
|
||||
inputWidth: '80px',
|
||||
|
Loading…
x
Reference in New Issue
Block a user