fix(form): remove native modifiy on DOM element (#701)

* fix(form):  remove native modifiy on DOM element

* fix(TDCommon): fix TDCommon js file 's, to avoid use the wrong version
This commit is contained in:
申君健 2023-10-30 16:09:16 +08:00 committed by GitHub
parent a5303d798f
commit 38a6d4faca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 8 deletions

View File

@ -5,9 +5,7 @@
<link rel="icon" href="/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>OpenTiny - TinyVue</title>
<!--问题1.TinyNG打包后静态资源文件在新官网找不到CSS主题样式文件加载不到-->
<!--2.TinyNG打包文件web-components的主题样式加载时机较早编译获取不到PUBLIC_URL和DEPLOY_URL变量从而找不到对应的css文件-->
<!--方案将PUBLIC_URL和DEPLOY_URL变量在header中提前定义保证web-components可以获取到这两个变量从而正确加载对应的主题样式文件-->
<!--图片引用方案将PUBLIC_URL和DEPLOY_URL变量在header中提前定义保证web-components可以获取到这两个变量从而正确加载对应的主题样式文件-->
<script type="module">
window.PUBLIC_URL = import.meta.env.BASE_URL
window.DEPLOY_URL = ''
@ -19,11 +17,8 @@
<div id="header"></div>
<app-root></app-root>
<div id="app" class="wp100 hp100 pt60 of-hidden"></div>
<script
id="tinyui-design-common"
src="https://res.hc-cdn.com/tinyui-design-common/1.0.5.20230707170109/tinyui-design-common.min.js"
></script>
<!-- prettier-ignore -->
<script id="tinyui-design-common" src="https://res.hc-cdn.com/tinyui-design-common/1.0.5.20230707170109/tinyui-design-common.min.js"></script>
<script type="module" src="./src/main.js"></script>
</body>
</html>