1
0
Fork 0
mirror of https://github.com/CorentinTh/it-tools.git synced 2025-07-31 02:59:37 +02:00

fix(tool): refresh port now work again

This commit is contained in:
Corentin Thomasset 2021-05-31 17:59:06 +02:00
parent 74e5758735
commit 638dd13438
No known key found for this signature in database
GPG key ID: DBD997E935996158

View file

@ -39,7 +39,7 @@ const generatePort = () => randIntFromInterval(1024, 65535)
mixins: [CopyableMixin]
})
export default class RandomPortGenerator extends Tool {
port!: number
port: number = 0
created() {
this.refreshPort()