mint-ui底部选项卡

使用mint-ui的底部选项卡组件想给首页添加图标却报错是要使用axios吗

img

<template>
  <div id="tab-bar">
    <mt-tabbar v-model="selected" v-show="isShow" fixed class="border-1px-top">
      <mt-tab-item id="main">
        <img :src="img1" slot="icon">首页
      mt-tab-item>
      <mt-tab-item id="tool">
        <img :src="img3" slot="icon">应用中心
      mt-tab-item>
      <mt-tab-item id="my">
        <img :src="img5" slot="icon">我的
      mt-tab-item>
    mt-tabbar>
  div>
template>
<style>
style>
<script>
  export default {
    data(){
      return {
        selected: 'main',
        img1: "food/src/img/form.png",
        img3: "food/src/img/table.png",
        img5: "food/src/img/ueser.png"
      }
    },
    computed: {
      isShow: function () {
        return true;
      }
    },
    watch: {
      'selected': {
        handler(){
          if (this.selected == "main") {
            this.$router.push('/main');
            this.img1 = "static/home_selected.png"
          } else {
            this.img1 = "static/home.png"
          }
          if (this.selected == "tool") {
            this.$router.push('/tool');
            this.img3 = 'static/tool_selected.png'
          } else {
            this.img3 = 'static/tool.png'
          }
          if (this.selected == "my") {
            this.$router.push('/my')
            this.img5 = "static/user_selected.png";
          } else {
            this.img5 = "static/user.png";
          }
        }
      }
    }
  }
script>


图片可以使用require()引入