refactor: trim the last 3 characters from the code
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 6s
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 6s
This commit is contained in:
parent
9a8363091d
commit
5c12bcbab7
1 changed files with 1 additions and 1 deletions
|
|
@ -1848,7 +1848,7 @@ async function copy(id: string) {
|
||||||
const res = await fetchListServiceById(id);
|
const res = await fetchListServiceById(id);
|
||||||
if (res) {
|
if (res) {
|
||||||
formService.value = {
|
formService.value = {
|
||||||
code: res.code,
|
code: res.code.slice(0, -3),
|
||||||
name: res.name,
|
name: res.name,
|
||||||
detail: res.detail,
|
detail: res.detail,
|
||||||
attributes: res.attributes,
|
attributes: res.attributes,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue