0
Ich habe dies für usertype bekommenVue Get Wert von GET php
<?php echo $userType = $_GET['user_type']?>;
Ich möchte die $ usertype zu Vue Varibale wie unten oder eine einfache Möglichkeit zur Verfügung
var ArtificialInsemination = new Vue({
el:'#ArtificialInsemination',
data: {
url:'http://localhost/dairyweb/dairyfarm/index.php',
artificialInseminationRecords: [],
cowId: '',
aiNo: '',
sessession:'',
user:$userType
},