mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-01-04 02:48:14 +00:00
shop-card 路径错误
This commit is contained in:
parent
cb294655d9
commit
ecc32b229a
@ -90,7 +90,7 @@
|
||||
window.$productAttr = <?php echo json_encode($productAttr) ?: '[]'; ?>;
|
||||
window.$productValue = <?php echo json_encode($productValue) ?: '{}'; ?>;</script>
|
||||
<script
|
||||
type="text/javascript"> requirejs(['vue', 'axios', 'helper', 'store', '{__WAP_PATH}crmeb/module/store/shop-card'], function (Vue, axios, $h, storeApi, shopCard) {
|
||||
type="text/javascript"> requirejs(['vue', 'axios', 'helper', 'store', '{__WAP_PATH}crmeb/module/store/shop-card.js'], function (Vue, axios, $h, storeApi, shopCard) {
|
||||
new Vue({
|
||||
el: "#store_detail",
|
||||
components: {'shop-card': shopCard},
|
||||
|
||||
@ -47,7 +47,7 @@
|
||||
</div>
|
||||
<script>
|
||||
var base = new Base64();
|
||||
requirejs(['vue','store','better-scroll','helper','{__WAP_PATH}crmeb/module/store/shop-card'],function(Vue,storeApi,BScroll,$h,shopCard){
|
||||
requirejs(['vue','store','better-scroll','helper','{__WAP_PATH}crmeb/module/store/shop-card.js'],function(Vue,storeApi,BScroll,$h,shopCard){
|
||||
shopCard.install(Vue);
|
||||
var cid = "{$cid}";
|
||||
new Vue({
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user