瀏覽代碼

fix: 120=>300MB

jinx 6 月之前
父節點
當前提交
4271c93d84

+ 1 - 1
packages/qjkankan-editor/src/components/materialSelector.vue

@@ -93,7 +93,7 @@
       :fileInputLimitFailStr="$i18n.t(`gather.pano_limit`)"
       :fileInputAcceptType="'image/png,image/jpeg,image/jpg'"
       :fileInputMediaType="'image'"
-      :fileInputLimit="120"
+      :fileInputLimit="300"
       @need-clear-filter="
         () => {
           searchKey = '';

+ 3 - 3
packages/qjkankan-editor/src/lang/weblate/en.json

@@ -587,11 +587,11 @@
         "siweiSG": "4DMeta",
         "keywords": "keywords",
         "how_to_shoot": "How to shoot a 3D scene?",
-        "pano_size": "Support 2:1 jpg files ≤ 120MB",
+        "pano_size": "Support 2:1 jpg files ≤ 300MB",
         "cancel": "Cancel",
         "comfirm": "Confirm",
-        "pano_fail": "Format error. Support 2:1 jpg files ≤ 120MB",
-        "pano_limit": "The file is too large. Support 2:1 jpg files ≤ 120MB",
+        "pano_fail": "Format error. Support 2:1 jpg files ≤ 300MB",
+        "pano_limit": "The file is too large. Support 2:1 jpg files ≤ 300MB",
         "edit_cover": "Thumbnail Settings",
         "img_fail": "Format error.Support jpg/png/gif files: ≤ 10MB",
         "img_limit": "The file is too large.Support jpg/png/gif files: ≤ 10MB",

+ 3 - 3
packages/qjkankan-editor/src/lang/weblate/zh.json

@@ -587,11 +587,11 @@
         "siweiSG": "四维深光",
         "keywords": "请输入关键字",
         "how_to_shoot": "如何拍摄三维场景",
-        "pano_size": "请上传2:1、120MB以内、jpg格式的图片",
+        "pano_size": "请上传2:1、300MB以内、jpg格式的图片",
         "cancel": "取消",
         "comfirm": "确定",
-        "pano_fail": "格式错误,请上传2:1、120MB以内、jpg格式的全景图片",
-        "pano_limit": "过大,请上传2:1、120MB以内、jpg格式的全景图片",
+        "pano_fail": "格式错误,请上传2:1、300MB以内、jpg格式的全景图片",
+        "pano_limit": "过大,请上传2:1、300MB以内、jpg格式的全景图片",
         "edit_cover": "编辑封面",
         "img_fail": "格式错误,请上传10MB以内、jpg/png/gif格式的图片",
         "img_limit": "过大,请上传10MB以内、jpg/png/gif格式的图片",

+ 1 - 1
packages/qjkankan-editor/src/views/material/pano/index.vue

@@ -27,7 +27,7 @@
               :limitFailStr="pano_limit"
               accept-type=".jpg"
               media-type="image"
-              :limit="120"
+              :limit="300"
               @file-change="onFileChange"
             ></upload>
           </button>