fix(GoodsCategory.vue): 选择商品分类的右箭头图标不显示问题修复
This commit is contained in:
@@ -14,7 +14,7 @@
|
|||||||
<el-link type="info" :underline="false" v-show="pathLabels.length>0">您选择的商品分类:</el-link>
|
<el-link type="info" :underline="false" v-show="pathLabels.length>0">您选择的商品分类:</el-link>
|
||||||
<el-link type="danger" :underline="false" v-for="(item,index) in pathLabels" style="margin-left: 5px">
|
<el-link type="danger" :underline="false" v-for="(item,index) in pathLabels" style="margin-left: 5px">
|
||||||
{{ item }}
|
{{ item }}
|
||||||
<i v-show="index<pathLabels.length-1" class=" el-icon-arrow-right"></i>
|
<CaretRight v-show="index<pathLabels.length-1"/>
|
||||||
</el-link>
|
</el-link>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -26,11 +26,15 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import {listCascadeCategories} from "@/api/pms/category";
|
import {onMounted,nextTick, reactive, ref, toRefs} from "vue";
|
||||||
import {nextTick, onMounted, reactive, ref, toRefs} from "vue";
|
|
||||||
import {ElCascaderPanel, ElMessage} from "element-plus";
|
import {ElCascaderPanel, ElMessage} from "element-plus";
|
||||||
const emit = defineEmits(['next'])
|
import {CaretRight} from '@element-plus/icons-vue';
|
||||||
|
|
||||||
|
// API 引用
|
||||||
|
import {listCascadeCategories} from "@/api/pms/category";
|
||||||
|
|
||||||
|
|
||||||
|
const emit = defineEmits(['next'])
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
modelValue: {
|
modelValue: {
|
||||||
type: Object,
|
type: Object,
|
||||||
@@ -71,7 +75,6 @@ function handleNext() {
|
|||||||
emit('next' )
|
emit('next' )
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
loadData()
|
loadData()
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user