Variant Form3(for Vue 3.x)正式版3.0.1发布。

This commit is contained in:
vdpAdmin 2022-02-02 15:19:09 +08:00
parent deb8ed31c3
commit 3b45fa7a17
5 changed files with 7 additions and 23 deletions

View File

@ -98,7 +98,7 @@
<el-button type="primary" @click="submitForm">Submit</el-button>
</div>
</template>
<script>
<script setup>
import { ref, reactive } from 'vue'
import { ElMessage } from 'element-plus'

View File

@ -1,6 +1,6 @@
{
"name": "variant-form3",
"version": "3.0.0",
"version": "3.0.1",
"private": false,
"scripts": {
"serve": "vite",

View File

@ -267,7 +267,7 @@
<style lang="scss" scoped>
.grid-cell {
min-height: 38px;
min-height: 38px !important;
//margin: 6px 0; /* marginoffsetpushpull */
padding: 3px;
outline: 1px dashed #336699;

View File

@ -8,7 +8,7 @@ export const DESIGNER_OPTIONS = {
}
export const VARIANT_FORM_VERSION = '3.0.0'
export const VARIANT_FORM_VERSION = '3.0.1'
//export const MOCK_CASE_URL = 'https://www.fastmock.site/mock/2de212e0dc4b8e0885fea44ab9f2e1d0/vform/'
export const MOCK_CASE_URL = 'https://ks3-cn-beijing.ksyuncs.com/vform-static/vcase/'

View File

@ -15,23 +15,6 @@ export default defineConfig({
//添加jsx/tsx支持
vueJsx({}),
//解决引入commonjs模块后打包出现的{'default' is not exported by XXX}错误!!
// commonjs(),
// commonjs({
// //exclude: ['node_modules/vue/dist/*.js'],
// requireReturnsDefault: true
// }),
// commonjs({requireReturnsDefault: (id) => {
// //console.log('aaa', id)
// if (!!id && id.indexOf('/sortablejs/') > -1) {
// return false
// } else {
// return (!!id && id.indexOf('/axios/') > -1)
// }
// }
// }),
/* externalGlobals
报错TypeError: Cannot read properties of null (reading 'nodeType')不知何故 */
// externalGlobals({
@ -72,8 +55,9 @@ export default defineConfig({
minify: false,
commonjsOptions: {
exclude: [
'lib/vuedraggable/dist/vuedraggable.umd.js,', //引号前的逗号不能删,不知何故??
'vue/dist/*.js'],
'lib/vuedraggable/dist/vuedraggable.umd.js,', //引号前的逗号不能删,不知何故??
//'vue/dist/*.js'
],
include: []
//requireReturnsDefault: true
},