Commit 149e8c04 authored by zhengke's avatar zhengke

修改

parent 98ba777b
...@@ -150,7 +150,7 @@ ...@@ -150,7 +150,7 @@
</div> </div>
</el-form-item> </el-form-item>
<el-form-item label="选择链接"> <el-form-item label="选择链接">
<el-input size="small" v-model="rubData.data.list[rubik].link.name" :disabled="true"> <el-input size="small" v-model="rubData.data.list[rubik].link[0].PageName" :disabled="true">
<template slot="append"> <template slot="append">
<el-button @click="isShowLink=true">选择链接</el-button> <el-button @click="isShowLink=true">选择链接</el-button>
</template> </template>
...@@ -525,7 +525,14 @@ ...@@ -525,7 +525,14 @@
} }
let style = JSON.parse(JSON.stringify(this.style_list[index])); let style = JSON.parse(JSON.stringify(this.style_list[index]));
for (let i in style.list) { for (let i in style.list) {
style.list[i].link = {}; style.list[i].link = [
{
PageUrl:'',
IsParameter:0,
ParameterValue:'',
PageName:''
}
];
} }
this.rubData.data.height = style.height; this.rubData.data.height = style.height;
this.rubData.data.w = style.w; this.rubData.data.w = style.w;
...@@ -706,7 +713,10 @@ ...@@ -706,7 +713,10 @@
if (this.rubData.data.list.length <= 0) { if (this.rubData.data.list.length <= 0) {
return ''; return '';
} }
this.rubData.data.list[this.rubik].link.name = obj.PageName; this.rubData.data.list[this.rubik].link[0].PageUrl=obj.PageUrl;
this.rubData.data.list[this.rubik].link[0].IsParameter=obj.IsParameter;
this.rubData.data.list[this.rubik].link[0].ParameterValue=obj.ParameterValue;
this.rubData.data.list[this.rubik].link[0].PageName=obj.PageName;
this.isShowLink = false; this.isShowLink = false;
}, },
......
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