Commit 8ba8eb57 by crushh

update: 替换公共组件引入

parent 71d45f84
...@@ -22,9 +22,13 @@ ...@@ -22,9 +22,13 @@
<!-- built files will be auto injected --> <!-- built files will be auto injected -->
<!-- 公共库引用 cdn --> <!-- 公共库引用 cdn -->
<script> <script>
// (function() {
// var host = window.location.host;
// document.write('<script src="//'+ (host.indexOf('localhost')>-1?'four.gicdev.com':host) + '/component-library/static/import-component.js?timestrap='+ new Date().getTime() +'"><\/script>')
// })()
(function() { (function() {
var host = window.location.host; var host = window.location.host;
document.write('<script src="//'+ (host.indexOf('localhost')>-1?'four.gicdev.com':host) + '/component-library/static/import-component.js?timestrap='+ new Date().getTime() +'"><\/script>') document.write('<script src="//'+ (host == 'ideal.demogic.com' ? host : 'four.gicdev.com') + '/component-library/static/import-component.js?timestrap='+ new Date().getTime() +'"><\/script>')
})() })()
</script> </script>
</body> </body>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment