MCPcopy
hub / github.com/YMFE/yapi / onOk

Method onOk

client/containers/Project/Setting/ProjectToken/ProjectToken.js:46–49  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

44 okText: '确认',
45 cancelText: '取消',
46 async onOk() {
47 await that.props.updateToken(that.props.projectId);
48 message.success('更新成功');
49 },
50 onCancel() {}
51 });
52 };

Callers 4

index.jsFile · 0.80
tFunction · 0.80
CaseDesModal.jsFile · 0.80

Calls 1

updateTokenMethod · 0.80

Tested by

no test coverage detected