mirror of
https://github.com/vform666/variant-form3-vite.git
synced 2024-11-10 09:39:20 +08:00
Variant Form3(for Vue 3.x)正式版3.0.1发布。
This commit is contained in:
parent
deb8ed31c3
commit
3b45fa7a17
@ -98,7 +98,7 @@
|
|||||||
<el-button type="primary" @click="submitForm">Submit</el-button>
|
<el-button type="primary" @click="submitForm">Submit</el-button>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script setup>
|
||||||
import { ref, reactive } from 'vue'
|
import { ref, reactive } from 'vue'
|
||||||
import { ElMessage } from 'element-plus'
|
import { ElMessage } from 'element-plus'
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "variant-form3",
|
"name": "variant-form3",
|
||||||
"version": "3.0.0",
|
"version": "3.0.1",
|
||||||
"private": false,
|
"private": false,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"serve": "vite",
|
"serve": "vite",
|
||||||
|
@ -267,7 +267,7 @@
|
|||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.grid-cell {
|
.grid-cell {
|
||||||
min-height: 38px;
|
min-height: 38px !important;
|
||||||
//margin: 6px 0; /* 设置了margin,栅格列的offset、push、pull会失效!! */
|
//margin: 6px 0; /* 设置了margin,栅格列的offset、push、pull会失效!! */
|
||||||
padding: 3px;
|
padding: 3px;
|
||||||
outline: 1px dashed #336699;
|
outline: 1px dashed #336699;
|
||||||
|
@ -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://www.fastmock.site/mock/2de212e0dc4b8e0885fea44ab9f2e1d0/vform/'
|
||||||
export const MOCK_CASE_URL = 'https://ks3-cn-beijing.ksyuncs.com/vform-static/vcase/'
|
export const MOCK_CASE_URL = 'https://ks3-cn-beijing.ksyuncs.com/vform-static/vcase/'
|
||||||
|
@ -15,23 +15,6 @@ export default defineConfig({
|
|||||||
//添加jsx/tsx支持
|
//添加jsx/tsx支持
|
||||||
vueJsx({}),
|
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后,
|
/* 开启externalGlobals后,
|
||||||
报错:TypeError: Cannot read properties of null (reading 'nodeType'),不知何故?? */
|
报错:TypeError: Cannot read properties of null (reading 'nodeType'),不知何故?? */
|
||||||
// externalGlobals({
|
// externalGlobals({
|
||||||
@ -73,7 +56,8 @@ export default defineConfig({
|
|||||||
commonjsOptions: {
|
commonjsOptions: {
|
||||||
exclude: [
|
exclude: [
|
||||||
'lib/vuedraggable/dist/vuedraggable.umd.js,', //引号前的逗号不能删,不知何故??
|
'lib/vuedraggable/dist/vuedraggable.umd.js,', //引号前的逗号不能删,不知何故??
|
||||||
'vue/dist/*.js'],
|
//'vue/dist/*.js'
|
||||||
|
],
|
||||||
include: []
|
include: []
|
||||||
//requireReturnsDefault: true
|
//requireReturnsDefault: true
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user