there is a paragraph in the nailing development document that introduces a method using script, but I don"t know how to introduce it in ts
.
requires that this method be introduced in advance, but if introduced under the head tag, I cannot use it in another component