2023-10-31-2-dist
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user