Compare commits
3 Commits
7a4e7bf2dd
...
1d50c81dc7
Author | SHA1 | Date | |
---|---|---|---|
1d50c81dc7
|
|||
961b012daa
|
|||
a50d03fdb5
|
@ -44,4 +44,5 @@
|
||||
/*"font_size": 9,*/
|
||||
/*"font_size": 9,*/
|
||||
/*"font_size": 12,*/
|
||||
"font_size": 10,
|
||||
}
|
||||
|
@ -16,19 +16,19 @@ protected \$keyType = 'string';
|
||||
/** @var bool */
|
||||
public \$incrementing = false;
|
||||
|
||||
/** @var array */
|
||||
/** @var string[] */
|
||||
protected \$fillable = [];
|
||||
|
||||
/** @var array */
|
||||
/** @var string[] */
|
||||
protected \$hidden = [];
|
||||
|
||||
/** @var array */
|
||||
protected \$casts = [];
|
||||
|
||||
/** @var array */
|
||||
/** @var string[] */
|
||||
protected \$dates = [];
|
||||
|
||||
/** @var array */
|
||||
/** @var string[] */
|
||||
protected \$appends = [];
|
||||
|
||||
/** @var array */
|
||||
|
@ -11,7 +11,7 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { defineComponent } from 'vue'
|
||||
import { defineComponent, reactive, ref, computed, watch, onBeforeMount, onMounted } from 'vue'
|
||||
import AppLayout from '@/Layouts/AppLayout.vue'
|
||||
|
||||
export default defineComponent({
|
||||
@ -23,21 +23,35 @@ export default defineComponent({
|
||||
AppLayout,
|
||||
},
|
||||
|
||||
setup(props, {emit}) {
|
||||
return {}
|
||||
setup(props, {context, emit}) {
|
||||
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>
|
||||
|
||||
|
Reference in New Issue
Block a user