fix: printboard generate菜单name初始化赋值
This commit is contained in:
15
components.d.ts
vendored
15
components.d.ts
vendored
@@ -9,25 +9,24 @@ export {}
|
|||||||
declare module 'vue' {
|
declare module 'vue' {
|
||||||
export interface GlobalComponents {
|
export interface GlobalComponents {
|
||||||
ABadge: typeof import('ant-design-vue/es')['Badge']
|
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']
|
AConfigProvider: typeof import('ant-design-vue/es')['ConfigProvider']
|
||||||
ADatePicker: typeof import('ant-design-vue/es')['DatePicker']
|
|
||||||
ADrawer: typeof import('ant-design-vue/es')['Drawer']
|
ADrawer: typeof import('ant-design-vue/es')['Drawer']
|
||||||
|
ADropdown: typeof import('ant-design-vue/es')['Dropdown']
|
||||||
|
AImage: typeof import('ant-design-vue/es')['Image']
|
||||||
|
AInputNumber: typeof import('ant-design-vue/es')['InputNumber']
|
||||||
AMenu: typeof import('ant-design-vue/es')['Menu']
|
AMenu: typeof import('ant-design-vue/es')['Menu']
|
||||||
AMenuItem: typeof import('ant-design-vue/es')['MenuItem']
|
AMenuItem: typeof import('ant-design-vue/es')['MenuItem']
|
||||||
AModal: typeof import('ant-design-vue/es')['Modal']
|
AModal: typeof import('ant-design-vue/es')['Modal']
|
||||||
APagination: typeof import('ant-design-vue/es')['Pagination']
|
APopover: typeof import('ant-design-vue/es')['Popover']
|
||||||
ARangePicker: typeof import('ant-design-vue/es')['RangePicker']
|
ARangePicker: typeof import('ant-design-vue/es')['RangePicker']
|
||||||
ASelect: typeof import('ant-design-vue/es')['Select']
|
ASelect: typeof import('ant-design-vue/es')['Select']
|
||||||
|
ASelectOption: typeof import('ant-design-vue/es')['SelectOption']
|
||||||
|
ASlider: typeof import('ant-design-vue/es')['Slider']
|
||||||
ASpin: typeof import('ant-design-vue/es')['Spin']
|
ASpin: typeof import('ant-design-vue/es')['Spin']
|
||||||
ASubMenu: typeof import('ant-design-vue/es')['SubMenu']
|
|
||||||
ASwitch: typeof import('ant-design-vue/es')['Switch']
|
ASwitch: typeof import('ant-design-vue/es')['Switch']
|
||||||
ATable: typeof import('ant-design-vue/es')['Table']
|
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']
|
AUpload: typeof import('ant-design-vue/es')['Upload']
|
||||||
ElCascader: typeof import('element-plus/es')['ElCascader']
|
|
||||||
RouterLink: typeof import('vue-router')['RouterLink']
|
RouterLink: typeof import('vue-router')['RouterLink']
|
||||||
RouterView: typeof import('vue-router')['RouterView']
|
RouterView: typeof import('vue-router')['RouterView']
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -507,6 +507,7 @@ export default defineComponent({
|
|||||||
watch(
|
watch(
|
||||||
() => scene.value,
|
() => scene.value,
|
||||||
(newVal, oldVal) => {
|
(newVal, oldVal) => {
|
||||||
|
console.log('scene-------------newVal', newVal)
|
||||||
if (newVal.value == 'extract') {
|
if (newVal.value == 'extract') {
|
||||||
speed.speedData = speed.extractList[0]
|
speed.speedData = speed.extractList[0]
|
||||||
} else if (newVal.value == 'Logo' || newVal.value == 'Slogan') {
|
} else if (newVal.value == 'Logo' || newVal.value == 'Slogan') {
|
||||||
@@ -520,6 +521,9 @@ export default defineComponent({
|
|||||||
// }
|
// }
|
||||||
speed.speedData = speed.speedList[0]
|
speed.speedData = speed.speedList[0]
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
immediate: true
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
const setSpeed = (item: any) => {
|
const setSpeed = (item: any) => {
|
||||||
@@ -533,7 +537,7 @@ export default defineComponent({
|
|||||||
}
|
}
|
||||||
} else if (props.msg == 'Printboard') {
|
} else if (props.msg == 'Printboard') {
|
||||||
scene.value = {
|
scene.value = {
|
||||||
name: t('SketchboardUpload.GenerateSketch'),
|
name: t('PrintboardUpload.Pattern'),
|
||||||
value: 'Pattern'
|
value: 'Pattern'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -452,6 +452,7 @@ export default {
|
|||||||
jsContent5: "The entered content exceeds the maximum length.",
|
jsContent5: "The entered content exceeds the maximum length.",
|
||||||
jsContent6: "Please enter content",
|
jsContent6: "Please enter content",
|
||||||
jsContent7: "Please ensure all required fields are filled out",
|
jsContent7: "Please ensure all required fields are filled out",
|
||||||
|
Pattern: 'Pattern',
|
||||||
},
|
},
|
||||||
ColorboardUpload: {
|
ColorboardUpload: {
|
||||||
Thumbnail: "Thumbnail preview of selected colors",
|
Thumbnail: "Thumbnail preview of selected colors",
|
||||||
|
|||||||
Reference in New Issue
Block a user