mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-18 06:44:46 -07:00
Use uuid for signup component
This commit is contained in:
parent
6760425893
commit
a2f40b7aee
1 changed files with 7 additions and 1 deletions
|
|
@ -61,6 +61,8 @@
|
|||
|
||||
import axios from 'axios'
|
||||
|
||||
import { v4 as uuid } from 'uuid'
|
||||
|
||||
export default {
|
||||
props: {
|
||||
// appName: {
|
||||
|
|
@ -78,6 +80,10 @@ export default {
|
|||
inputClassGroups: {
|
||||
type: Object,
|
||||
default: () => {}
|
||||
},
|
||||
uuid: {
|
||||
type: String,
|
||||
default: uuid()
|
||||
}
|
||||
},
|
||||
data: function () {
|
||||
|
|
@ -90,7 +96,7 @@ export default {
|
|||
},
|
||||
computed: {
|
||||
inputId () {
|
||||
return `all-updates-subscribe-${this._uid}`
|
||||
return `all-updates-subscribe-${ this.uuid }`
|
||||
},
|
||||
inputClasslist () {
|
||||
const defaultClassGroups = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue