fix
This commit is contained in:
7
components.d.ts
vendored
7
components.d.ts
vendored
@@ -9,8 +9,10 @@ export {}
|
||||
declare module 'vue' {
|
||||
export interface GlobalComponents {
|
||||
ABadge: typeof import('ant-design-vue/es')['Badge']
|
||||
ABreadcrumb: typeof import('ant-design-vue/es')['Breadcrumb']
|
||||
ACheckbox: typeof import('ant-design-vue/es')['Checkbox']
|
||||
AConfigProvider: typeof import('ant-design-vue/es')['ConfigProvider']
|
||||
ADatePicker: typeof import('ant-design-vue/es')['DatePicker']
|
||||
ADrawer: typeof import('ant-design-vue/es')['Drawer']
|
||||
ADropdown: typeof import('ant-design-vue/es')['Dropdown']
|
||||
AImage: typeof import('ant-design-vue/es')['Image']
|
||||
@@ -24,9 +26,14 @@ declare module 'vue' {
|
||||
ASelect: typeof import('ant-design-vue/es')['Select']
|
||||
ASelectOption: typeof import('ant-design-vue/es')['SelectOption']
|
||||
ASlider: typeof import('ant-design-vue/es')['Slider']
|
||||
ASpace: typeof import('ant-design-vue/es')['Space']
|
||||
ASpin: typeof import('ant-design-vue/es')['Spin']
|
||||
ASubMenu: typeof import('ant-design-vue/es')['SubMenu']
|
||||
ASwitch: typeof import('ant-design-vue/es')['Switch']
|
||||
ATable: typeof import('ant-design-vue/es')['Table']
|
||||
ATabPane: typeof import('ant-design-vue/es')['TabPane']
|
||||
ATabs: typeof import('ant-design-vue/es')['Tabs']
|
||||
ATimeRangePicker: typeof import('ant-design-vue/es')['TimeRangePicker']
|
||||
AUpload: typeof import('ant-design-vue/es')['Upload']
|
||||
ElCascader: typeof import('element-plus/es')['ElCascader']
|
||||
RouterLink: typeof import('vue-router')['RouterLink']
|
||||
|
||||
@@ -478,7 +478,9 @@ export default defineComponent({
|
||||
}
|
||||
watch(()=>scene.value,(newVal,oldVal)=>{
|
||||
if(newVal.value == 'extract'){
|
||||
speed.speedData = speed.extractList[0]
|
||||
speed.speedData = {
|
||||
...speed.extractList[0]
|
||||
}
|
||||
}else if(newVal.value == 'Logo' || newVal.value == 'Slogan'){
|
||||
speed.speedData.value = ''
|
||||
speed.speedData.label = ''
|
||||
@@ -488,7 +490,10 @@ export default defineComponent({
|
||||
// }else{
|
||||
// speed.speedData = speed.speedList[0]
|
||||
// }
|
||||
speed.speedData = speed.speedList[0]
|
||||
console.log(speed.speedList)
|
||||
speed.speedData = {
|
||||
...speed.speedList[0]
|
||||
}
|
||||
}
|
||||
})
|
||||
const setSpeed = (item:any)=>{
|
||||
@@ -502,7 +507,7 @@ export default defineComponent({
|
||||
}
|
||||
}else if(props.msg == 'Printboard'){
|
||||
scene.value = {
|
||||
name: t('SketchboardUpload.GeneratePrint'),
|
||||
name: t('PrintboardUpload.GeneratePrint'),
|
||||
value:'Pattern'
|
||||
}
|
||||
}
|
||||
|
||||
@@ -996,7 +996,9 @@ export default defineComponent({
|
||||
this.isSloganHint = ''
|
||||
}
|
||||
if(newVal.value == 'extract'){
|
||||
this.speedData = this.extractList[0]
|
||||
this.speedData = {
|
||||
...this.extractList[0]
|
||||
}
|
||||
}else if(newVal.value == 'Logo' || newVal.value == 'Slogan'){
|
||||
this.speedData = {
|
||||
value:'',
|
||||
@@ -1008,7 +1010,9 @@ export default defineComponent({
|
||||
// }else{
|
||||
// this.speedData = this.speedList[0]
|
||||
// }
|
||||
this.speedData = this.speedList[0]
|
||||
this.speedData = {
|
||||
...this.speedList[0]
|
||||
}
|
||||
}
|
||||
this.speedState = false
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user