sugar1569 7 лет назад
Родитель
Сommit
ecc32b229a

+ 1 - 1
application/wap/view/first/store/detail.html

@@ -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},

+ 1 - 1
application/wap/view/first/store/index.html

@@ -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({