2023-10-31-2-dist

This commit is contained in:
X1627315083
2023-10-31 16:04:40 +08:00
parent 4bc10f121a
commit 5d89e3c007
19 changed files with 425 additions and 217 deletions

View File

@@ -1,8 +1,8 @@
import {Module} from 'vuex'
import {RootState} from '../index'
import { message } from "ant-design-vue";
import { useI18n } from "vue-i18n";
import GO from '@/tool/GO';
interface UploadFiles{
moodboard:any,
disposeMoodboard:any,
@@ -90,9 +90,11 @@ const UploadFilesModule : Module<UploadFiles,RootState> = {
}else{
arr = state.printboard
}
if(file.length == 0){
if(arr.length >= 8){
message.warning('You can select up to 8 images')
// message.warning(GO.jsContent1)
message.warning(data.jsContent1)
}else{
data.checked = true
file.push(data)
@@ -107,7 +109,7 @@ const UploadFilesModule : Module<UploadFiles,RootState> = {
}
if(str){
if(arr.length >= 8){
message.warning('You can select up to 8 images')
message.warning(data.jsContent1)
}else{
data.checked = true
file.push(data)