Bladeren bron

fix:作用域修改

tangshizhe 2 jaren geleden
bovenliggende
commit
cfb7e704d8
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. 1 1
      src/web/staticres/common-module/chart-module/js/chart-common.js

+ 1 - 1
src/web/staticres/common-module/chart-module/js/chart-common.js

@@ -53,7 +53,7 @@ var chartTemplate =
       </ve-line>
   </template>
 `
-window.vComponentChart = function (el, chartData, config, type) {
+window.proxy.vComponentChart = function (el, chartData, config, type) {
   new Vue({
     delimiters: ['${', '}'],
     el: el,