There is a paragraph in the nail development document that introduces a method using script, but I don't know how to introduce it in ts.

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

.

clipboard.png

clipboard.png
requires that this method be introduced in advance, but if introduced under the head tag, I cannot use it in another component

Mar.17,2021

you can consider import this js, in the corresponding component, but Typescript is not allowed to import js by default. Configure allowjs in tsconfig

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b9e601-2f3d9.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b9e601-2f3d9.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?