mao 1 year ago
parent
commit
c971aad64f

+ 1 - 0
components/dialog-selectProduction/dialog-selectProduction.vue

@@ -101,6 +101,7 @@
 	 * 处理响应结果
 	 */
 	function changeResultStructure(data){
+		console.log(data)
 		// 用于存放处理后的结果
 		const result = {};
 		// 遍历原始数组的每个对象

+ 1 - 0
pages/equipmentList/index.vue

@@ -60,6 +60,7 @@
 	 * 页面初始化
 	 */
 	function init() {
+		equipmentList.value = [];
 		getUserequipmentList({
 			userId: store.userInfo.userId
 		}).then(res => {