牧星长zolay

Results 29 comments of 牧星长zolay

逻辑没问题,通过`thirdUserId`查询出来,判断是否为null,再去决定是insert还是update,由于调用的是同一个方法,所以在该方法内set了thirdUserId,但update时是并没有更新的,只是为了兼顾insert时的逻辑。

# selectLogicDeleted selectLogicDeleted里写的`${ew.customSqlSegment}`是MyBatisPlus提供的构造器,实际输出的就是带`#`的参数,不存在注入风险,可放心使用。 ![image](https://user-images.githubusercontent.com/34293221/199419692-b6110663-f5f4-44cc-ae85-363166d8db00.png)

问题已修复,下版本发布

默认是有吸顶效果的,侧边菜单栏也是固定的。 ![image](https://user-images.githubusercontent.com/34293221/194757558-fe954817-cd96-492b-ad14-5450776d52a1.png)

经测试没有发现回显问题 ![image](https://user-images.githubusercontent.com/34293221/205648473-5acedcac-7b56-4830-847b-593896ba4c3a.png) ![image](https://user-images.githubusercontent.com/34293221/205648603-160bc1fb-8a8e-4385-b5b6-12db188085c7.png)

你可以监听`valueChange`事件,在这个事件里面计算完之后用`setValues`方法赋值。 文档地址:http://vue3.jeecg.com/2561638 ![image](https://user-images.githubusercontent.com/34293221/205614659-4f3c06d6-ecb5-4b6b-92a7-c6e31326e5af.png)

> // 单元格编辑完成之后触发的事件 function handleEditClosed(event) { let {$table, row} = event; const cost = computed(() => row.quantity * row.priceWan).value; $table.methods.setValues([{rowKey: row.id, values: {'sumWan': cost}}]); } > > 这样会报错。请指教。 调用 setValues...

`this` 作用域问题,可以把`handler`换成箭头函数即可。 [箭头函数 - ECMAScript 6 入门](https://es6.ruanyifeng.com/#docs/function#%E7%AE%AD%E5%A4%B4%E5%87%BD%E6%95%B0)