thainv-dev: Fix
This commit is contained in:
@@ -85,6 +85,7 @@ const mapActivesToItems = (index: number) => {
|
||||
|
||||
const currentCategoryTree = ref<any []>([]);
|
||||
if(currentArticle.value?.categoryId) {
|
||||
console.log('urrentArticle.value?.categoryId', categoryTree.value)
|
||||
currentCategoryTree.value = findElementPathById(categoryTree.value, currentArticle.value.categoryId)
|
||||
}
|
||||
function findElementPathById(categories: any[], targetId: number, path: any[] = []) {
|
||||
@@ -108,7 +109,7 @@ function findElementPathById(categories: any[], targetId: number, path: any[] =
|
||||
<div class="section_layout border-custom four_col_layout" :style="LAYOUT_PARSE['div.section_layout']">
|
||||
<div class="left">
|
||||
<div>
|
||||
<div class="audio">
|
||||
<!-- <div class="audio">
|
||||
<div class="play">
|
||||
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path
|
||||
@@ -124,7 +125,7 @@ function findElementPathById(categories: any[], targetId: number, path: any[] =
|
||||
<div class="timeline">
|
||||
<input type="range" name="" id="" />
|
||||
</div>
|
||||
</div>
|
||||
</div> -->
|
||||
|
||||
<div class="buttons">
|
||||
<div class="actions">
|
||||
|
||||
Reference in New Issue
Block a user