ZaiZai преди 1 година
родител
ревизия
56bdcb504d
променени са 1 файла, в които са добавени 11 реда и са изтрити 5 реда
  1. 11 5
      src/views/system/app.vue

+ 11 - 5
src/views/system/app.vue

@@ -42,7 +42,7 @@
 
         <div slot-scope="{}" slot="fileUrlForm" style="display: inline-block;width: 100%;">
           <el-input v-model="form.fileUrl">
-            <el-upload slot="append" action="/api/blade-resource/oss/endpoint/put-file3" accept=".apk,.wgt" :disabled="isLoading"
+            <el-upload slot="append" action="/api/blade-resource/oss/endpoint/put-file3" accept=".apk,.wgt,exe,dmg" :disabled="isLoading"
                        :on-remove="handleRemove" :limit="1" :headers='headers' :show-file-list="false"
                        :on-exceed="handleExceed" :on-success="handleSuccess" :on-progress="handleProgress" :on-error="handleError"
             >
@@ -199,9 +199,16 @@ export default {
               {
                 label: "ios",
                 value: 2
+              },
+              {
+                label: "windows",
+                value: 3
+              },
+              {
+                label: "MacOs",
+                value: 4
               }
             ],
-
             value: 1,
             rules: [
               {
@@ -211,7 +218,6 @@ export default {
               }
             ],
           },
-
           {
             label: "文件类型",
             prop: "fileType",
@@ -219,11 +225,11 @@ export default {
             span: 24,
             dicData: [
               {
-                label: "完整安装包",
+                label: "完整包/intel/win",
                 value: 0
               },
               {
-                label: "wgt热更新包",
+                label: "wgt/M1/arm",
                 value: 1
               }
             ],