update
This commit is contained in:
parent
8d3c8259e8
commit
9ccc52378b
@ -443,7 +443,6 @@ export default {
|
||||
openAddCategoryFun(){
|
||||
var _this = this;
|
||||
_this.titlename="新增网址";
|
||||
console.log(this.List);
|
||||
_this.openAddCategory=true;
|
||||
},
|
||||
// 编辑按钮:
|
||||
@ -457,7 +456,6 @@ export default {
|
||||
// 提交新增:
|
||||
addCategory(rulelist,title){
|
||||
var _this = this;
|
||||
console.log(this.form);
|
||||
_this.$refs[rulelist].validate((valid)=>{
|
||||
if(valid){
|
||||
if(title == "编辑网址"){
|
||||
@ -586,6 +584,7 @@ export default {
|
||||
}).then(function(res){
|
||||
var tmp = res.data;
|
||||
var tmp2 = [];
|
||||
that.Cate=[];
|
||||
for(let i=0;i< tmp.length;i++){
|
||||
var rootName = tmp[i].name;
|
||||
var catenum = tmp[i].cateId;
|
||||
|
Loading…
Reference in New Issue
Block a user