SanHQin 9 months ago
parent
commit
069701dff1

+ 1 - 0
src/components/pages/classroomObservation/components/messageArea.vue

@@ -1089,6 +1089,7 @@ export default {
 		},
 		addAnalysisItem(title) {
 			return new Promise((resolve, reject) => {
+				var OpenCC = require("opencc-js");
 				let converter = OpenCC.Converter({
 						from:'hk',
 						to:'cn'