Commit 06c72b6a authored by zL's avatar zL

fix:修复格式化导致的bug

parent 71af5fac
......@@ -225,7 +225,6 @@ export default {
uploadComplete(xhr) {
//服务断接收完文件返回的结果
this.hashList.push(JSON.parse(xhr.target.response).data.hash);
console.log(this.hashList);
this.$message({
type: "success",
message: "上传成功!",
......@@ -278,7 +277,7 @@ export default {
background: #f6f6f7;
border-radius: 4px;
border: 1px solid #dcdfe6;
color: #353535;
color: rgba(121, 125, 132, 1);
line-height: 36px;
text-align: center;
font-size: 12px;
......
......@@ -590,7 +590,6 @@ export default class editTemplate extends Vue {
await this.fileHandler();
var newDetail = new Array();
newDetail = formatApiJson(this.rootUnitList);
console.log(newDetail);
// return;
// 更新ext数据
for (let index = 0; index < newDetail.length; index++) {
......
......@@ -12,9 +12,7 @@
<div class="info-content" v-if="item2.type === 0">
{{ item2.data.value }}
</div>
<div class="info-content info-content--area" v-if="item2.type === 10">
{{ item2.data.value }}
</div>
<div class="info-content info-content--area" v-if="item2.type === 10">{{ item2.data.value }}</div>
<!-- 选择器 -->
<div class="info-content" v-if="item2.type === 5">
{{ item2.data.value }}
......
......@@ -3,7 +3,17 @@ module.exports = {
publicPath: "./", //相对路径
outputDir: 'sy',
configureWebpack: {
performance: {
hints: 'warning',
// 入口起点的最大体积
maxEntrypointSize: 50000000,
// 生成文件的最大体积
maxAssetSize: 30000000,
// 只给出 js 文件的性能提示
assetFilter: function (assetFilename) {
return assetFilename.endsWith('.js')
}
},
},
devServer: {
// port: port,
......@@ -18,7 +28,8 @@ module.exports = {
},
},
},
pages: {
index: UrlPrefixObj.model.INDEX
}
};
};
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment