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)