正在显示
2 个修改的文件
包含
2 行增加
和
2 行删除
| @@ -5,7 +5,7 @@ | @@ -5,7 +5,7 @@ | ||
| 5 | "author": "若依", | 5 | "author": "若依", |
| 6 | "license": "MIT", | 6 | "license": "MIT", |
| 7 | "scripts": { | 7 | "scripts": { |
| 8 | - "dev": "vue-cli-service serve", | 8 | + "dev": "vue-cli-service serve --open", |
| 9 | "build:prod": "vue-cli-service build", | 9 | "build:prod": "vue-cli-service build", |
| 10 | "build:stage": "vue-cli-service build --mode staging", | 10 | "build:stage": "vue-cli-service build --mode staging", |
| 11 | "preview": "node build/index.js --preview", | 11 | "preview": "node build/index.js --preview", |
| 1 | <template> | 1 | <template> |
| 2 | <div v-if="isExternal" :style="styleExternalIcon" class="svg-external-icon svg-icon" v-on="$listeners" /> | 2 | <div v-if="isExternal" :style="styleExternalIcon" class="svg-external-icon svg-icon" v-on="$listeners" /> |
| 3 | <svg v-else :class="svgClass" aria-hidden="true" v-on="$listeners"> | 3 | <svg v-else :class="svgClass" aria-hidden="true" v-on="$listeners"> |
| 4 | - <use :href="iconName" /> | 4 | + <use :xlink:href="iconName" /> |
| 5 | </svg> | 5 | </svg> |
| 6 | </template> | 6 | </template> |
| 7 | 7 |
-
请 注册 或 登录 后发表评论