Commit 8f8c60d336dfde3f49d0793c93d88dd066bf3ecb

Authored by zhangdaiscott
1 parent 275ce6c9

Jeecg-Boot 2.1.4 版本发布 (版本问题修复)

ant-design-vue-jeecg/src/components/jeecg/JEditableTable.vue
... ... @@ -1268,7 +1268,8 @@
1268 1268 // 同步更改
1269 1269 this.rows = rows
1270 1270 this.$nextTick(() => {
1271   - this.updateFormValues()
  1271 + this.recalcSortNumber()
  1272 + this.forceUpdateFormValues()
1272 1273 })
1273 1274 // 触发 insert 事件
1274 1275 this.$emit('inserted', {
... ... @@ -1911,12 +1912,19 @@
1911 1912 sort(this.rows)
1912 1913 sort(this.inputValues)
1913 1914  
1914   - // 重置排序字段
1915   - this.inputValues.forEach((val, idx) => val[this.dragSortKey] = (idx + 1))
  1915 + this.recalcSortNumber()
1916 1916  
1917 1917 this.forceUpdateFormValues()
1918 1918 },
1919 1919  
  1920 + /** 重新计算排序字段的数值 */
  1921 + recalcSortNumber() {
  1922 + if (this.dragSort) {
  1923 + // 重置排序字段
  1924 + this.inputValues.forEach((val, idx) => val[this.dragSortKey] = (idx + 1))
  1925 + }
  1926 + },
  1927 +
1920 1928 /** 当前行向上移一位 */
1921 1929 _handleRowMoveUp(rowIndex) {
1922 1930 if (rowIndex > 0) {
... ...
ant-design-vue-jeecg/src/components/jeecg/JUpload.vue
... ... @@ -221,7 +221,7 @@
221 221 }).map((file) => {
222 222 var fileJson = {
223 223 fileName:file.name,
224   - filePath:file.url,
  224 + filePath:file.response.message,
225 225 fileSize:file.size
226 226 };
227 227 this.newFileList.push(fileJson);
... ...
ant-design-vue-jeecg/src/views/jeecg/SelectDemo.vue
... ... @@ -180,7 +180,6 @@
180 180 <a-button style="margin-right: 8px;" @click="()=>modal.visible=true">点击弹出JModal</a-button>
181 181 <span style="margin-right: 8px;">全屏化:<a-switch v-model="modal.fullscreen"/></span>
182 182 <span style="margin-right: 8px;">允许切换全屏:<a-switch v-model="modal.switchFullscreen"/></span>
183   - <span>锁定Body滚动:<a-switch v-model="modal.lockScroll"/></span>
184 183  
185 184 </a-form-item>
186 185  
... ... @@ -188,7 +187,6 @@
188 187 :visible.sync="modal.visible"
189 188 :width="1200"
190 189 :title="modal.title"
191   - :lockScroll="modal.lockScroll"
192 190 :fullscreen.sync="modal.fullscreen"
193 191 :switchFullscreen="modal.switchFullscreen"
194 192 >
... ... @@ -390,7 +388,6 @@ sayHi(&#39;hello, world!&#39;)`
390 388 modal: {
391 389 title: '这里是标题',
392 390 visible: false,
393   - lockScroll: true,
394 391 fullscreen: true,
395 392 switchFullscreen: true,
396 393 },
... ...
jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/system/mapper/xml/SysPermissionMapper.xml
... ... @@ -52,7 +52,8 @@
52 52 where p.id = a.permission_id AND d.username = #{username,jdbcType=VARCHAR}
53 53 )
54 54 <!--update begin Author:taoyan Date:20200225 for:默认授权online的auto动态隐藏路由 -->
55   - or (p.url like '%:code' and p.url like '/online%' and p.hidden = 1) )
  55 + or (p.url like '%:code' and p.url like '/online%' and p.hidden = 1)
  56 + or (p.url = '/online') )
56 57 <!--update end Author:taoyan Date:20200213 for:默认授权online的auto动态隐藏路由 -->
57 58 and p.del_flag = 0
58 59 <!--update begin Author:lvdandan Date:20200225 for:加入部门权限 -->
... ...