Commit 4f6756fd by 冷斌

fix bug

parent 3f21d068
......@@ -27,11 +27,10 @@ class SingleAction extends CommonAction
{
$id = t($_GET['id']);
if ($id === 'buy') {
var_dump(model('Xdata')->get("admin_Config:about"));
die;
$result = model('Xdata')->get("admin_Config:about");
$res = [
'title' => '购买协议',
'text' => model('Xdata')->get("admin_Config:about"),
'text' => $result['about']
];
} else {
$map['is_del'] = 0;
......
......@@ -8,7 +8,7 @@
<div id="app">
<div class="layout_v">
{$data.text}
</div>
</div>
......@@ -22,7 +22,7 @@
}
},
mounted:function(){
document.title = "设置"
document.title = "{$data.title}"
},
methods: {
......
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