Jelajahi Sumber

shop-card 路径错误

sugar1569 7 tahun lalu
induk
melakukan
5db5751577
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      application/wap/view/first/store/detail.html

+ 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/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'], function (Vue, axios, $h, storeApi, shopCard) {
         new Vue({
             el: "#store_detail",
             components: {'shop-card': shopCard},