Commit bf18bb9a by zhangmeng

bug

parent f16c2f52
......@@ -42,7 +42,10 @@ module.exports = {
*/
// https://webpack.js.org/configuration/devtool/#development
devtool: 'cheap-module-eval-source-map',
// devtool: 'cheap-module-eval-source-map',
devtool: 'eval-source-map',
// If you have problems debugging vue-files in devtools,
// set this to false - it *may* help
......
......@@ -62,7 +62,6 @@ export default {
})
}
_rec(result);
console.log(result)
this.treeData = result;
},
......
......@@ -101,9 +101,6 @@ export default {
created() {
this.cardGetShelfs()
this.getCardDetail()
console.log('4'+this.form)
this.$store.commit('mutations_breadcrumb',[{name:'营销管理',path:''},{name:'卡券营销',path:'/card'},{name:'卡券库',path:'/card/list'},{name:'卡券详情',path:''}])
},
mounted () {
......@@ -123,7 +120,7 @@ export default {
// debugger
console.log('5'+e)
// try {
// this.$refs.form.resetFields();
// this.$refs.form.resetFields();
// } catch (e) {
// console.log(e)
// }
......@@ -131,8 +128,11 @@ export default {
this.form = JSON.parse(JSON.stringify(initForm));
this.sale_limit = JSON.parse(JSON.stringify(sale_limit));
this.goods = JSON.parse(JSON.stringify(goods));
this.form.cardType = e;
this.$nextTick(_ => {
this.form.cardType = e;
// if (this.form.cardType === 2) {
this.$refs.storeCard.initLeftList();
// }
})
// console.log(this.form.storeMode,val);
},
......
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