@@ -704,7 +704,7 @@ export default {
this.$api.machMater.machSelectMachineMapData(this.selProject.id).then((d) => {
let obj = {};
let result = (d.data?.data?.data || []).map((it) => {
- it.icon = it.icon.replace("../../images", "./images");
+ it.icon = it.icon.replace("..//cdn/bsimages", "/cdn/bsimages");
if (["1", "2"].includes(it.state)) {
if (!obj[it.state1]) {
obj[it.state1] = [];
diff --git a/yanzhu-bigscreen/src/views/machmater/materialManage.vue b/yanzhu-bigscreen/src/views/machmater/materialManage.vue
index e20e6def..4b9aa149 100644
--- a/yanzhu-bigscreen/src/views/machmater/materialManage.vue
+++ b/yanzhu-bigscreen/src/views/machmater/materialManage.vue
@@ -50,7 +50,7 @@
-
![]()
+
@@ -63,7 +63,7 @@
-
![]()
+
@@ -76,7 +76,7 @@
-
![]()
+
@@ -89,7 +89,7 @@
-
![]()
+
diff --git a/yanzhu-bigscreen/vue.config.js b/yanzhu-bigscreen/vue.config.js
index b456a6ab..d3c7090f 100644
--- a/yanzhu-bigscreen/vue.config.js
+++ b/yanzhu-bigscreen/vue.config.js
@@ -76,6 +76,17 @@ module.exports = defineConfig({
.options({
symbolId: "myicon-[name]",
});
+
+ // 配置字体文件处理
+ config.module
+ .rule("fonts")
+ .test(/\.(woff2?|eot|ttf|otf)(\?.*)?$/)
+ .use("url-loader")
+ .loader("url-loader")
+ .options({
+ limit: 1000000,
+ name: "fonts/[name].[hash:7].[ext]"
+ });
},
configureWebpack: (config) => {
config.externals = {