替换html模板文件中的CDN资源链接。

This commit is contained in:
vdpAdmin 2022-05-08 10:45:50 +08:00
parent 2280303a2a
commit 78a0e45e9e

View File

@ -8,7 +8,7 @@ export const generateCode = function(formJson, codeType= 'vue') {
<meta charset="UTF-8"> <meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no" /> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no" />
<title>VForm Demo</title> <title>VForm Demo</title>
<link rel="stylesheet" href="//unpkg.com/element-plus/dist/index.css" /> <link rel="stylesheet" href="https://lf26-cdn-tos.bytecdntp.com/cdn/expire-1-M/element-plus/2.0.4/index.min.css" />
<link rel="stylesheet" href="https://ks3-cn-beijing.ksyun.com/vform3/render.style.css?t=20220129"> <link rel="stylesheet" href="https://ks3-cn-beijing.ksyun.com/vform3/render.style.css?t=20220129">
<style type="text/css"> <style type="text/css">
</style> </style>
@ -21,8 +21,8 @@ export const generateCode = function(formJson, codeType= 'vue') {
<el-button type="primary" @click="submitForm">Submit</el-button> <el-button type="primary" @click="submitForm">Submit</el-button>
</div> </div>
<script src="//unpkg.com/vue@next"></script> <script src="https://lf26-cdn-tos.bytecdntp.com/cdn/expire-1-M/vue/3.2.30/vue.global.min.js"></script>
<script src="//unpkg.com/element-plus"></script> <script src="https://lf9-cdn-tos.bytecdntp.com/cdn/expire-1-M/element-plus/2.0.4/index.full.min.js"></script>
<script src="https://ks3-cn-beijing.ksyun.com/vform3/render.umd.js?t=20220129"></script> <script src="https://ks3-cn-beijing.ksyun.com/vform3/render.umd.js?t=20220129"></script>
<script> <script>
const { createApp } = Vue; const { createApp } = Vue;