fix styling, response
This commit is contained in:
@@ -833,7 +833,7 @@ export default {
|
||||
};
|
||||
</script>
|
||||
|
||||
<style >
|
||||
<style scoped>
|
||||
body {
|
||||
margin-top: 20px;
|
||||
background: #eee;
|
||||
|
||||
@@ -60,7 +60,7 @@ export default {
|
||||
}
|
||||
)
|
||||
.then((response) => {
|
||||
if (response.statusText == "OK") {
|
||||
if (response.data.success == true) {
|
||||
this.lists = response.data.data;
|
||||
console.log(this.lists);
|
||||
this.tarikhLelong = response.data.tarikh_lelong;
|
||||
|
||||
@@ -106,6 +106,7 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
liveData() {
|
||||
|
||||
this.loading = true;
|
||||
axios
|
||||
.get(
|
||||
@@ -121,7 +122,7 @@ export default {
|
||||
}
|
||||
)
|
||||
.then((response) => {
|
||||
if (response.statusText == "OK") {
|
||||
if (response.data.success == true) {
|
||||
this.loading = false;
|
||||
console.log(response);
|
||||
this.lists = response.data.data;
|
||||
|
||||
Reference in New Issue
Block a user