Registrazione con scelta se Telegram o Email.
(anche da link personale)
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
import { tools } from '@store/Modules/tools'
|
||||
import { CTitleBanner } from '../CTitleBanner'
|
||||
|
||||
import { defineComponent, onMounted, ref, toRef } from 'vue'
|
||||
import { defineComponent, onMounted, ref, toRef, watch } from 'vue'
|
||||
import { useQuasar } from 'quasar'
|
||||
|
||||
export default defineComponent({
|
||||
@@ -117,6 +117,14 @@ export default defineComponent({
|
||||
['undo', 'redo', 'viewsource'],
|
||||
])
|
||||
|
||||
watch(() => props.value, (newval, oldval) => {
|
||||
if (props.value === undefined)
|
||||
myvalue.value = ''
|
||||
else
|
||||
myvalue.value = props.value
|
||||
|
||||
})
|
||||
|
||||
function changeval(newval: any) {
|
||||
// console.log('myEditor: changeval', newval)
|
||||
emit('update:value', newval)
|
||||
|
||||
Reference in New Issue
Block a user