模块数据优化
This commit is contained in:
parent
f3f593ee9e
commit
3c366c7c6d
|
|
@ -133,10 +133,7 @@
|
|||
// 组件方法
|
||||
methods: {
|
||||
moduleUpdated(module) {
|
||||
const data = {
|
||||
module: this.editingModuleCode,
|
||||
content: this.form.modules[this.design.editingModuleIndex].content
|
||||
};
|
||||
const data = this.form.modules[this.design.editingModuleIndex]
|
||||
|
||||
$http.post('design/builder/preview', data, {hload: true}).then((res) => {
|
||||
// layer.msg(res.message)
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@
|
|||
|
||||
@push('add-scripts')
|
||||
<script>
|
||||
new Swiper ('.module-swiper-dasuybkdas', {
|
||||
new Swiper ('.module-swiper-{{ $module_id }}', {
|
||||
loop: true, // 循环模式选项
|
||||
autoplay: true,
|
||||
pauseOnMouseEnter: true,
|
||||
|
|
|
|||
Loading…
Reference in New Issue