Authored by 陈峰

Merge branch 'release/1.0' of http://git.yoho.cn/fe/yoho-shop-manage into release/1.0

import Vue from 'vue';
export default (template, data, methods, components) => {
const cell = document.createElement('div');
cell.innerHTML = template;
const res = Vue.compile(cell.outerHTML);
const component = new Vue({
render: res.render,
staticRenderFns: res.staticRenderFns,
methods: methods,
data() {
return data;
},
components: components
});
const Cell = component.$mount();
return Cell.$el;
};
... ...
... ... @@ -144,7 +144,7 @@
label: '未上架'
},
{
value: 2,
value: 1,
label: '已上架'
}
]
... ...