|
@@ -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)
|