路由图标设置bug修复
parent
a9cd77fe57
commit
08c80e7c91
|
@ -33,7 +33,6 @@
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
import waves from '@/directive/waves'
|
import waves from '@/directive/waves'
|
||||||
import { requestFN } from '@/utils/request'
|
|
||||||
export default {
|
export default {
|
||||||
directives: { waves },
|
directives: { waves },
|
||||||
props: {
|
props: {
|
||||||
|
|
|
@ -488,11 +488,13 @@ export default {
|
||||||
},
|
},
|
||||||
confirmIcon() {
|
confirmIcon() {
|
||||||
this.listLoading = true
|
this.listLoading = true
|
||||||
|
console.log(this.iconDialog.iconIndex)
|
||||||
|
console.log(this.iconDialog.svgList[this.iconDialog.iconIndex].name)
|
||||||
requestFN(
|
requestFN(
|
||||||
'/route/icon',
|
'/route/icon',
|
||||||
{
|
{
|
||||||
ROUTE_ID: this.ROUTE_ID,
|
ROUTE_ID: this.ROUTE_ID,
|
||||||
ICON: this.iconDialog.iconIndex
|
ICON: this.iconDialog.iconIndex !== ''
|
||||||
? this.iconDialog.svgList[this.iconDialog.iconIndex].name
|
? this.iconDialog.svgList[this.iconDialog.iconIndex].name
|
||||||
: ''
|
: ''
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue