路由图标设置bug修复

pull/1/head
wangpeng 2024-02-05 15:41:58 +08:00
parent a9cd77fe57
commit 08c80e7c91
2 changed files with 3 additions and 2 deletions

View File

@ -33,7 +33,6 @@
</template>
<script>
import waves from '@/directive/waves'
import { requestFN } from '@/utils/request'
export default {
directives: { waves },
props: {

View File

@ -488,11 +488,13 @@ export default {
},
confirmIcon() {
this.listLoading = true
console.log(this.iconDialog.iconIndex)
console.log(this.iconDialog.svgList[this.iconDialog.iconIndex].name)
requestFN(
'/route/icon',
{
ROUTE_ID: this.ROUTE_ID,
ICON: this.iconDialog.iconIndex
ICON: this.iconDialog.iconIndex !== ''
? this.iconDialog.svgList[this.iconDialog.iconIndex].name
: ''
}