|
|
|
@ -149,7 +149,7 @@ import { getPage as materialgroupPage, addObj as materialgroupAdd, delObj as mat
|
|
|
|
|
import { getPage, addObj, delObj, putObj } from '@/api/tools/material' |
|
|
|
|
import { getToken } from '@/utils/auth' |
|
|
|
|
import { mapGetters } from 'vuex' |
|
|
|
|
import '../../../public/UEditor/dialogs/internal'; |
|
|
|
|
import '../../../public/UEditor/dialogs/internal' |
|
|
|
|
|
|
|
|
|
export default { |
|
|
|
|
name: 'MaterialList', |
|
|
|
@ -462,12 +462,12 @@ export default {
|
|
|
|
|
return isPic && isLt2M |
|
|
|
|
}, |
|
|
|
|
sureUrls() { |
|
|
|
|
let str = ''; |
|
|
|
|
let str = '' |
|
|
|
|
this.urls.forEach(item => { |
|
|
|
|
str += '<img width="100%" src="' + item + '">' |
|
|
|
|
//this.$set(this.value, this.value.length, item) |
|
|
|
|
nowEditor.dialog.close(true); |
|
|
|
|
nowEditor.editor.setContent(str, true); |
|
|
|
|
// this.$set(this.value, this.value.length, item) |
|
|
|
|
nowEditor.dialog.close(true) |
|
|
|
|
nowEditor.editor.setContent(str, true) |
|
|
|
|
}) |
|
|
|
|
this.listDialogVisible = false |
|
|
|
|
} |
|
|
|
|