Browse Source

dev启动默认打开浏览器

tags/v2.0
RuoYi 5 years ago
parent
commit
b44f0d408b
  1. 2
      ruoyi-ui/package.json
  2. 2
      ruoyi-ui/src/components/SvgIcon/index.vue

2
ruoyi-ui/package.json

@ -5,7 +5,7 @@ @@ -5,7 +5,7 @@
"author": "若依",
"license": "MIT",
"scripts": {
"dev": "vue-cli-service serve",
"dev": "vue-cli-service serve --open",
"build:prod": "vue-cli-service build",
"build:stage": "vue-cli-service build --mode staging",
"preview": "node build/index.js --preview",

2
ruoyi-ui/src/components/SvgIcon/index.vue

@ -1,7 +1,7 @@ @@ -1,7 +1,7 @@
<template>
<div v-if="isExternal" :style="styleExternalIcon" class="svg-external-icon svg-icon" v-on="$listeners" />
<svg v-else :class="svgClass" aria-hidden="true" v-on="$listeners">
<use :href="iconName" />
<use :xlink:href="iconName" />
</svg>
</template>

Loading…
Cancel
Save