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' {
|
||||
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']
|
||||
AInputNumber: typeof import('ant-design-vue/es')['InputNumber']
|
||||
AMenu: typeof import('ant-design-vue/es')['Menu']
|
||||
AMenuItem: typeof import('ant-design-vue/es')['MenuItem']
|
||||
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']
|
||||
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']
|
||||
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']
|
||||
RouterView: typeof import('vue-router')['RouterView']
|
||||
}
|
||||
|
||||
@@ -507,6 +507,7 @@ export default defineComponent({
|
||||
watch(
|
||||
() => scene.value,
|
||||
(newVal, oldVal) => {
|
||||
console.log('scene-------------newVal', newVal)
|
||||
if (newVal.value == 'extract') {
|
||||
speed.speedData = speed.extractList[0]
|
||||
} else if (newVal.value == 'Logo' || newVal.value == 'Slogan') {
|
||||
@@ -520,6 +521,9 @@ export default defineComponent({
|
||||
// }
|
||||
speed.speedData = speed.speedList[0]
|
||||
}
|
||||
},
|
||||
{
|
||||
immediate: true
|
||||
}
|
||||
)
|
||||
const setSpeed = (item: any) => {
|
||||
@@ -533,7 +537,7 @@ export default defineComponent({
|
||||
}
|
||||
} else if (props.msg == 'Printboard') {
|
||||
scene.value = {
|
||||
name: t('SketchboardUpload.GenerateSketch'),
|
||||
name: t('PrintboardUpload.Pattern'),
|
||||
value: 'Pattern'
|
||||
}
|
||||
}
|
||||
|
||||
@@ -452,6 +452,7 @@ export default {
|
||||
jsContent5: "The entered content exceeds the maximum length.",
|
||||
jsContent6: "Please enter content",
|
||||
jsContent7: "Please ensure all required fields are filled out",
|
||||
Pattern: 'Pattern',
|
||||
},
|
||||
ColorboardUpload: {
|
||||
Thumbnail: "Thumbnail preview of selected colors",
|
||||
|
||||
Reference in New Issue
Block a user