修复bug

This commit is contained in:
yanran200730
2024-10-29 21:36:40 +08:00
parent b4c3e3796f
commit 4b6e221369
5 changed files with 62 additions and 26 deletions

View File

@@ -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
})
},

View File

@@ -344,7 +344,6 @@
this.isLoading = false
this.lableList = list
console.log(list)
}
}
}