zhongzewei 7 лет назад
Родитель
Сommit
7fc1aeeb40
1 измененных файлов с 3 добавлено и 1 удалено
  1. 3 1
      modules/users/controllers/compilation_controller.js

+ 3 - 1
modules/users/controllers/compilation_controller.js

@@ -61,7 +61,9 @@ class CompilationController extends BaseController {
         } catch (error) {
             console.log(error);
         }
-
+        if (selectedCompilation.example) {
+            selectedCompilation.example = selectedCompilation.example.join(';');
+        }
         let renderData = {
             id: id,
             compilationList: compilationList,