Jeecg-Boot 2.1.4 版本发布 (版本问题修复)
This commit is contained in:
@@ -1268,7 +1268,8 @@
|
|||||||
// 同步更改
|
// 同步更改
|
||||||
this.rows = rows
|
this.rows = rows
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.updateFormValues()
|
this.recalcSortNumber()
|
||||||
|
this.forceUpdateFormValues()
|
||||||
})
|
})
|
||||||
// 触发 insert 事件
|
// 触发 insert 事件
|
||||||
this.$emit('inserted', {
|
this.$emit('inserted', {
|
||||||
@@ -1911,12 +1912,19 @@
|
|||||||
sort(this.rows)
|
sort(this.rows)
|
||||||
sort(this.inputValues)
|
sort(this.inputValues)
|
||||||
|
|
||||||
// 重置排序字段
|
this.recalcSortNumber()
|
||||||
this.inputValues.forEach((val, idx) => val[this.dragSortKey] = (idx + 1))
|
|
||||||
|
|
||||||
this.forceUpdateFormValues()
|
this.forceUpdateFormValues()
|
||||||
},
|
},
|
||||||
|
|
||||||
|
/** 重新计算排序字段的数值 */
|
||||||
|
recalcSortNumber() {
|
||||||
|
if (this.dragSort) {
|
||||||
|
// 重置排序字段
|
||||||
|
this.inputValues.forEach((val, idx) => val[this.dragSortKey] = (idx + 1))
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
/** 当前行向上移一位 */
|
/** 当前行向上移一位 */
|
||||||
_handleRowMoveUp(rowIndex) {
|
_handleRowMoveUp(rowIndex) {
|
||||||
if (rowIndex > 0) {
|
if (rowIndex > 0) {
|
||||||
|
|||||||
@@ -221,7 +221,7 @@
|
|||||||
}).map((file) => {
|
}).map((file) => {
|
||||||
var fileJson = {
|
var fileJson = {
|
||||||
fileName:file.name,
|
fileName:file.name,
|
||||||
filePath:file.url,
|
filePath:file.response.message,
|
||||||
fileSize:file.size
|
fileSize:file.size
|
||||||
};
|
};
|
||||||
this.newFileList.push(fileJson);
|
this.newFileList.push(fileJson);
|
||||||
|
|||||||
@@ -180,7 +180,6 @@
|
|||||||
<a-button style="margin-right: 8px;" @click="()=>modal.visible=true">点击弹出JModal</a-button>
|
<a-button style="margin-right: 8px;" @click="()=>modal.visible=true">点击弹出JModal</a-button>
|
||||||
<span style="margin-right: 8px;">全屏化:<a-switch v-model="modal.fullscreen"/></span>
|
<span style="margin-right: 8px;">全屏化:<a-switch v-model="modal.fullscreen"/></span>
|
||||||
<span style="margin-right: 8px;">允许切换全屏:<a-switch v-model="modal.switchFullscreen"/></span>
|
<span style="margin-right: 8px;">允许切换全屏:<a-switch v-model="modal.switchFullscreen"/></span>
|
||||||
<span>锁定Body滚动:<a-switch v-model="modal.lockScroll"/></span>
|
|
||||||
|
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
|
|
||||||
@@ -188,7 +187,6 @@
|
|||||||
:visible.sync="modal.visible"
|
:visible.sync="modal.visible"
|
||||||
:width="1200"
|
:width="1200"
|
||||||
:title="modal.title"
|
:title="modal.title"
|
||||||
:lockScroll="modal.lockScroll"
|
|
||||||
:fullscreen.sync="modal.fullscreen"
|
:fullscreen.sync="modal.fullscreen"
|
||||||
:switchFullscreen="modal.switchFullscreen"
|
:switchFullscreen="modal.switchFullscreen"
|
||||||
>
|
>
|
||||||
@@ -390,7 +388,6 @@ sayHi('hello, world!')`
|
|||||||
modal: {
|
modal: {
|
||||||
title: '这里是标题',
|
title: '这里是标题',
|
||||||
visible: false,
|
visible: false,
|
||||||
lockScroll: true,
|
|
||||||
fullscreen: true,
|
fullscreen: true,
|
||||||
switchFullscreen: true,
|
switchFullscreen: true,
|
||||||
},
|
},
|
||||||
|
|||||||
+2
-1
@@ -52,7 +52,8 @@
|
|||||||
where p.id = a.permission_id AND d.username = #{username,jdbcType=VARCHAR}
|
where p.id = a.permission_id AND d.username = #{username,jdbcType=VARCHAR}
|
||||||
)
|
)
|
||||||
<!--update begin Author:taoyan Date:20200225 for:默认授权online的auto动态隐藏路由 -->
|
<!--update begin Author:taoyan Date:20200225 for:默认授权online的auto动态隐藏路由 -->
|
||||||
or (p.url like '%:code' and p.url like '/online%' and p.hidden = 1) )
|
or (p.url like '%:code' and p.url like '/online%' and p.hidden = 1)
|
||||||
|
or (p.url = '/online') )
|
||||||
<!--update end Author:taoyan Date:20200213 for:默认授权online的auto动态隐藏路由 -->
|
<!--update end Author:taoyan Date:20200213 for:默认授权online的auto动态隐藏路由 -->
|
||||||
and p.del_flag = 0
|
and p.del_flag = 0
|
||||||
<!--update begin Author:lvdandan Date:20200225 for:加入部门权限 -->
|
<!--update begin Author:lvdandan Date:20200225 for:加入部门权限 -->
|
||||||
|
|||||||
Reference in New Issue
Block a user