refactor: trim the last 3 characters from the code
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 6s

This commit is contained in:
Thanaphon Frappet 2025-04-24 15:52:15 +07:00
parent 9a8363091d
commit 5c12bcbab7

View file

@ -1848,7 +1848,7 @@ async function copy(id: string) {
const res = await fetchListServiceById(id);
if (res) {
formService.value = {
code: res.code,
code: res.code.slice(0, -3),
name: res.name,
detail: res.detail,
attributes: res.attributes,