|
|
@@ -167,13 +167,14 @@ export default {
|
|
|
_self.summernoteInitSuccess = true;
|
|
|
},
|
|
|
|
|
|
- unmounted: function () {
|
|
|
+ beforeUnmount: function () {
|
|
|
if (this.summernoteInitSuccess == true) {
|
|
|
$('#summernote').summernote('destroy');
|
|
|
}
|
|
|
//界面销毁时,修改插入连接的display属性
|
|
|
$('.note-link-popover').removeAttr('style');
|
|
|
},
|
|
|
+
|
|
|
methods: {
|
|
|
/**
|
|
|
* 删除语音
|