mirror of
https://github.com/crmeb/CRMEB.git
synced 2025-12-15 21:32:50 +00:00
28 lines
646 B
PHP
28 lines
646 B
PHP
<!DOCTYPE html>
|
|
<html lang="zh-CN">
|
|
<head>
|
|
{include file="public/head"}
|
|
<title>{$title}</title>
|
|
</head>
|
|
<body>
|
|
<div id="form-add" class="mp-form" v-cloak="">
|
|
<form-builder></form-builder>
|
|
</div>
|
|
<script>
|
|
var _vm ;
|
|
$eb = parent._mpApi;
|
|
mpFrame.start(function(Vue){
|
|
require(['axios','system/util/mpFormBuilder'],function(axios,mpFormBuilder){
|
|
Vue.use(mpFormBuilder,$eb,<?php echo $rules; ?>,{
|
|
action:'{$save}'
|
|
});
|
|
new Vue({
|
|
el:"#form-add",
|
|
mounted:function(){
|
|
}
|
|
});
|
|
});
|
|
});
|
|
</script>
|
|
</body>
|