Skip to content

Commit

Permalink
fix: svg-icons
Browse files Browse the repository at this point in the history
  • Loading branch information
vasttian committed Aug 24, 2019
1 parent 7cc2e10 commit 51713f0
Show file tree
Hide file tree
Showing 165 changed files with 3 additions and 3 deletions.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
2 changes: 1 addition & 1 deletion src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import i18n from './i18n';
import Mock from './mock';
import './plugins/vuetify';
import './plugins/echarts';
import './components/widgets/svg-icons';
import './components/svg-icons';
import { parseURL } from './utils/util';
import VBasicCard from './components/VBasicCard.vue';

Expand Down
2 changes: 1 addition & 1 deletion src/utils/clipboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ function handleClipboard(target, text) {
});
clipboard.on('success', (e) => {
Vue.prototype.$message({
text: 'Copy successfully',
text: 'Copied successfully',
type: 'success',
});
removeEventListener();
Expand Down
2 changes: 1 addition & 1 deletion src/views/widgets/svg-icon/requireIcons.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// more detail
// [require.context](https://webpack.js.org/guides/dependency-management/#require-context)
const importAll = r => r.keys();
const all = importAll(require.context('@/components/svg-icon/icons', false, /\.svg$/));
const all = importAll(require.context('@/components/svg-icons/icons', false, /\.svg$/));
const re = /^\.\/(.*)\.svg/;
const icons = all.map(s => s.match(re)[1]);
icons.sort();
Expand Down

0 comments on commit 51713f0

Please sign in to comment.