修复bug
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
</ai-title>
|
||||
</template>
|
||||
<template #content>
|
||||
<ai-card title="标签模板" class="card" :hideTitle="true">
|
||||
<ai-card title="标签模板" class="card" :hideTitle="true" v-loading="isLoading">
|
||||
<template #content>
|
||||
<div class="add-label__wrapper">
|
||||
<Print
|
||||
@@ -35,7 +35,6 @@
|
||||
|
||||
<script>
|
||||
import Print from '@/components/print/Print'
|
||||
import template from '@/components/print/template'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
@@ -91,7 +90,8 @@
|
||||
this.$router.go(-1)
|
||||
},
|
||||
|
||||
getInfo () {
|
||||
getInfo() {
|
||||
this.isLoading = true
|
||||
this.$http.post(`/api/template/detail?id=${this.$route.query.id}`).then(res => {
|
||||
if (res.code === 0) {
|
||||
this.info = res.data
|
||||
@@ -102,6 +102,8 @@
|
||||
this.template = JSON.parse(res.data.content)
|
||||
})
|
||||
}
|
||||
|
||||
this.isLoading = false
|
||||
})
|
||||
},
|
||||
|
||||
|
||||
@@ -344,7 +344,6 @@
|
||||
this.isLoading = false
|
||||
|
||||
this.lableList = list
|
||||
console.log(list)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user