zhuf 4 ヶ月 前
コミット
ff29503d92
共有1 個のファイルを変更した5 個の追加5 個の削除を含む
  1. 5 5
      src/components/TinymceVue/index.vue

+ 5 - 5
src/components/TinymceVue/index.vue

@@ -20,7 +20,7 @@ const props = defineProps({
       ];
     }, type: Array
   },
-  
+
   toolbar1: { default: 'formatselect | bold italic  strikethrough  forecolor backcolor | link | alignleft aligncenter alignright alignjustify  | numlist bullist outdent indent  | removeformat', type: String },
   toolbar2: { default: '', type: String },
   other_options: {
@@ -28,7 +28,7 @@ const props = defineProps({
       return {};
     }, type: Object
   }
- 
+
 })
 
 const emits = defineEmits(['update:modelValue'])
@@ -82,9 +82,9 @@ function init() {
           filedata: file
         },
         timeout: 1000 * 60,
-        onUploadProgress(progressEvent) {
-          progress(~~(progressEvent.loaded / progressEvent.total * 100 | 0))
-        },
+        // onUploadProgress(progressEvent) {
+        //   progress(~~(progressEvent.loaded / progressEvent.total * 100 | 0))
+        // },
       }).then(res => {
         if (res.code === '1') {
           return window.GLOBAL_CONFIG.oss + (res.data.url)