更换vue为1.x版本

This commit is contained in:
yubao
2017-09-04 23:23:38 +08:00
parent f66e8f1d1e
commit e77280210e
3 changed files with 10087 additions and 10088 deletions

View File

@@ -78,6 +78,10 @@ layui.config({
}
});
var vm = new Vue({
el: "#formEdit"
});
//监听页面主按钮操作
var active = {
del: function () { //批量删除
@@ -91,12 +95,9 @@ layui.config({
,area: ["500px", "400px"]
,type: "1"
,content: $('#formEdit')
, success: function (layero, index) {
//todo:vue初始化会造成form所有点击失效checkbox,radio等
//var vm = new Vue({
// el: "#formEdit",
// data: null
//});
, success: function () {
vm.$set('$data', {});
//todo:droptree没有还原
}
,end:mainList
});

File diff suppressed because it is too large Load Diff