From 3de39066b5894850d0f0dc311b60cc09f599a025 Mon Sep 17 00:00:00 2001
From: wanshenmean <cathay_xy@163.com>
Date: 星期四, 26 二月 2026 14:30:06 +0800
Subject: [PATCH] 修复图片导入;重构路由和堆垛机命令
---
Code/WCS/WIDESEAWCS_Client/src/components/basic/VolUpload.vue | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/Code/WCS/WIDESEAWCS_Client/src/components/basic/VolUpload.vue b/Code/WCS/WIDESEAWCS_Client/src/components/basic/VolUpload.vue
index 4c7d696..af56d40 100644
--- a/Code/WCS/WIDESEAWCS_Client/src/components/basic/VolUpload.vue
+++ b/Code/WCS/WIDESEAWCS_Client/src/components/basic/VolUpload.vue
@@ -83,7 +83,8 @@
</div>
</template>
<script>
-let OSS = require('ali-oss');
+import OSS from 'ali-oss';
+import errorImgSrc from '@/assets/imgs/error-img.png';
export default {
components: {},
props: {
@@ -213,7 +214,7 @@
},
data() {
return {
- errorImg: 'this.src="' + require('@/assets/imgs/error-img.png') + '"',
+ errorImg: 'this.src="' + errorImgSrc + '"',
changed: false, //鎵嬪姩涓婁紶鎴愬姛鍚庣姝㈤噸澶嶄笂浼狅紝蹇呴』閲嶆柊閫夋嫨
model: true,
files: [],
--
Gitblit v1.9.3