mirror of
				https://github.com/YunaiV/ruoyi-vue-pro.git
				synced 2025-10-31 10:37:41 +08:00 
			
		
		
		
	修复Editor组件无法对响应式更新null值问题
This commit is contained in:
		| @ -71,9 +71,9 @@ export default { | |||||||
|     value: { |     value: { | ||||||
|       handler(val) { |       handler(val) { | ||||||
|         if (val !== this.currentValue) { |         if (val !== this.currentValue) { | ||||||
|           this.currentValue = val; |           this.currentValue = val === null ? "" : val; | ||||||
|           if (this.Quill) { |           if (this.Quill) { | ||||||
|             this.Quill.pasteHTML(this.value); |             this.Quill.pasteHTML(this.currentValue); | ||||||
|           } |           } | ||||||
|         } |         } | ||||||
|       }, |       }, | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user
	 HaoRan
					HaoRan