提交商品发布错误bug

master
lemon橪 2021-08-30 17:20:09 +08:00
parent 8dc3923a4f
commit 692f7b6dbf
3 changed files with 11 additions and 15 deletions

View File

@ -8,11 +8,9 @@
<title>lili store</title>
<meta name="keywords" content="keywords" />
<meta name="description" content="description" />
<!-- built files will be auto injected -->
<% for(var css of htmlWebpackPlugin.options.cdn.css) { %>
<link rel="stylesheet" href="<%=css%>" />
<% } %>
<% for(var js of htmlWebpackPlugin.options.cdn.js) { %>
<script src="<%=js%>"></script>
<link rel="stylesheet" href="<%=css%>" />
<% } %>
<style>
.page-loading-wrap {
@ -65,8 +63,10 @@
}
</style>
</head>
<body>
<% for(var js of htmlWebpackPlugin.options.cdn.js) { %>
<script src="<%=js%>"></script>
<% } %>
<noscript>
<strong
>We're sorry but lili-admin doesn't work properly without JavaScript
@ -82,6 +82,5 @@
<h4 style="margin-top:20px;">正在加载资源...</h4>
</div>
</div>
<!-- built files will be auto injected -->
</body>
</html>

View File

@ -1089,16 +1089,13 @@ export default {
this.submitLoading = false;
return;
}
let tips = ""
submit.skuList = this.skuTableData.map((sku) => {
//
console.warn(sku);
// delete sku._index;
// delete sku._rowKey;
// delete sku.specNameId;
// delete sku.specValueId;
// return sku;
delete sku._index;
delete sku._rowKey;
delete sku.specNameId;
delete sku.specValueId;
return sku;
});
if (submit.goodsGalleryFiles.length > 0) {

View File

@ -32,7 +32,7 @@ let cdn = {
css: ["https://cdn.jsdelivr.net/npm/view-design@4.1.1/dist/styles/iview.css"],
js: [
// vue must at first!
"https://cdn.jsdelivr.net/npm/vue@2.6.10/dist/vue.min.js",
"https://unpkg.com/vue/dist/vue.js",
"https://cdn.jsdelivr.net/npm/vuex@3.1.2/dist/vuex.min.js",
"https://cdn.jsdelivr.net/npm/vue-router@3.1.3/dist/vue-router.min.js",
"https://cdn.jsdelivr.net/npm/axios@0.19.0/dist/axios.min.js",