fix:修改字体图标 引入文件为base64
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -16,3 +16,4 @@ yarn-error.log*
|
||||
nezha-fronted/src/router/mergeTable.js
|
||||
nezha-fronted/src/components/page/dashboard/testData.js
|
||||
nezha-fronted/src/components/common/rightBox/tempRoghtBox.vue
|
||||
nezha-fronted/exportHtml/
|
||||
|
||||
@@ -12,12 +12,10 @@ const webpack = require('webpack')
|
||||
const config = require('../config')
|
||||
const webpackConfig = require('./webpack.prod.conf')
|
||||
const spinner = ora('building for production...')
|
||||
console.log(config, webpackConfig)
|
||||
if (webpackConfig.entry.exportHtml) {
|
||||
config.build.index = path.resolve(__dirname, '../exportHtml/index.html')
|
||||
config.build.assetsRoot = path.resolve(__dirname, '../exportHtml')
|
||||
}
|
||||
console.log(config, webpackConfig.entry.exportHtml)
|
||||
spinner.start()
|
||||
|
||||
rm(path.join(config.build.assetsRoot, config.build.assetsSubDirectory), err => {
|
||||
|
||||
@@ -382,6 +382,16 @@ td .nz-icon-gear:before{
|
||||
padding: 0 20px;
|
||||
}
|
||||
}
|
||||
.el-icon-arrow-right {
|
||||
font-family: "nz-icon" !important;
|
||||
font-size: 16px;
|
||||
font-style: normal;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
.el-icon-arrow-right:before {
|
||||
content: "\e6ad";
|
||||
}
|
||||
.chart-bar,.chart-gauge,.chart-time-series,.chart-treemap,.chart-pie,.chart-canvas-tooltip,.line-chart-block-Zindex,.alert-label,.alert-labelUp,.alert-days-info-tooltip,.nz-tooltip-bac{
|
||||
background-color: $--tooltip-background-color !important;
|
||||
border: 2px solid $--tooltip-border-color !important;
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -139,6 +139,9 @@ export default {
|
||||
return
|
||||
}
|
||||
seriesIndex++
|
||||
if (!data.values) {
|
||||
data.values = []
|
||||
}
|
||||
datas = [...datas, ...data.values]
|
||||
})
|
||||
})
|
||||
|
||||
@@ -95,6 +95,9 @@ export default {
|
||||
if (!data.metric) {
|
||||
data.metric = data.stream
|
||||
}
|
||||
if (!data.metric) {
|
||||
data.metric = {}
|
||||
}
|
||||
if (data.metric.__name__) {
|
||||
legend += `${data.metric.__name__}{`
|
||||
}
|
||||
|
||||
@@ -473,7 +473,6 @@ export default {
|
||||
isOnly: {
|
||||
immediate: true,
|
||||
handler (n) {
|
||||
console.log(n,'isOnly')
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -1,7 +1,6 @@
|
||||
import Vue from 'vue'
|
||||
import Router from 'vue-router'
|
||||
Vue.use(Router)
|
||||
console.log('router1')
|
||||
export default new Router({
|
||||
routes: [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user