fix seedrandom
diff --git a/src/editor/sandbox/setup.js b/src/editor/sandbox/setup.js
index 864be72..c632696 100644
--- a/src/editor/sandbox/setup.js
+++ b/src/editor/sandbox/setup.js
@@ -122,8 +122,8 @@
         // run the code
         const compiledCode = store.runCode
           // Replace random method
-          .replace(/Math.random\(\)/g, '__ECHARTS_EXAMPLE_RANDOM__()');
-        const echartsExampleRandom = Math.seedrandom(store.randomSeed);
+          .replace(/Math.random\(.*\)/g, '__ECHARTS_EXAMPLE_RANDOM__()');
+        const echartsExampleRandom = new Math.seedrandom(store.randomSeed);
 
         const func = new Function(
           'myChart',