Compare commits

...

3 Commits

3 changed files with 34 additions and 19 deletions

View File

@ -44,4 +44,5 @@
/*"font_size": 9,*/ /*"font_size": 9,*/
/*"font_size": 9,*/ /*"font_size": 9,*/
/*"font_size": 12,*/ /*"font_size": 12,*/
"font_size": 10,
} }

View File

@ -16,19 +16,19 @@ protected \$keyType = 'string';
/** @var bool */ /** @var bool */
public \$incrementing = false; public \$incrementing = false;
/** @var array */ /** @var string[] */
protected \$fillable = []; protected \$fillable = [];
/** @var array */ /** @var string[] */
protected \$hidden = []; protected \$hidden = [];
/** @var array */ /** @var array */
protected \$casts = []; protected \$casts = [];
/** @var array */ /** @var string[] */
protected \$dates = []; protected \$dates = [];
/** @var array */ /** @var string[] */
protected \$appends = []; protected \$appends = [];
/** @var array */ /** @var array */

View File

@ -11,7 +11,7 @@
</template> </template>
<script> <script>
import { defineComponent } from 'vue' import { defineComponent, reactive, ref, computed, watch, onBeforeMount, onMounted } from 'vue'
import AppLayout from '@/Layouts/AppLayout.vue' import AppLayout from '@/Layouts/AppLayout.vue'
export default defineComponent({ export default defineComponent({
@ -23,21 +23,35 @@ export default defineComponent({
AppLayout, AppLayout,
}, },
setup(props, {emit}) { setup(props, {context, emit}) {
return {} let aVariable = reactive({})
let compVariable = computed(() => {
//return 'foo'
})
watch(variable, (newValue, oldValue) => {
//
})
onBeforeMount(() => {
//
})
onMounted(() => {
//
})
function myMethod() {
aVariable.value = null
}
return {
aVariable,
compVariable,
myMethod,
}
}, },
beforeMount() {},
mounted() {},
data() {
return {}
},
computed: {},
methods: {},
}) })
</script> </script>