1.修复撤销功能传参错误导致的功能异常 2.增加运行和打包的配置
@@ -0,0 +1,15 @@
+{
+ // 使用 IntelliSense 了解相关属性。
+ // 悬停以查看现有属性的描述。
+ // 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830387
+ "version": "0.2.0",
+ "configurations": [
+ {
+ "type": "node-terminal",
+ "name": "SIT测试环境",
+ "request": "launch",
+ "command": "npm run dev:custom wp-sit",
+ "cwd": "${workspaceFolder}"
+ }
+ ]
+}
@@ -0,0 +1,16 @@
+ "version": "2.0.0",
+ "tasks": [
+ "type": "npm",
+ "script": "build:custom wp-prod",
+ "group": {
+ "kind": "build",
+ "isDefault": true
+ },
+ "problemMatcher": [],
+ "label": "生产环境打包",
+ "detail": "npm run build:custom wp-prod"
@@ -317,7 +317,7 @@ const remakeFormClose = async () => {
* 撤销确认
*/
const revokeDialogConfirm = async () => {
- punchInApi.revokePunchIn({ id: punchInId.value })
+ punchInApi.revokePunchIn({ punchInId: punchInId.value })
.then(ret => {
revokeDialog.value.close();
uni.showToast({