浏览代码

fix: taro demo index.vue icon (#1966)

jxt776 3 年之前
父节点
当前提交
9a4a240a41
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      src/sites/mobile-taro/vue/src/pages/index/index.vue

+ 3 - 1
src/sites/mobile-taro/vue/src/pages/index/index.vue

@@ -22,7 +22,7 @@
                   
                 {{ _package.cName }}
               </a>
-              <nut-icon size="14px" color="#979797" name="right"></nut-icon>
+              <Right size="14px" color="#979797" name="right"></Right>
             </li>
           </template>
         </ul>
@@ -35,8 +35,10 @@
 import { reactive, toRefs } from 'vue';
 import config from '../../../../../../config.json';
 import Taro from '@tarojs/taro';
+import { Right } from '@nutui/icons-vue-taro'
 export default {
   name: 'NutUI',
+  components:{ Right },
   onShareAppMessage() {
     return {
       title: '',