fix
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
import { ref, onMounted, onUnmounted, reactive, toRefs } from "vue";
|
||||
import { useRouter } from "vue-router";
|
||||
import img from "@/assets/images/collectionStory/Rectangle.png";
|
||||
import scList from '@/views/shoppingCart/sc-list.vue'
|
||||
import myEvent from '@/utils/myEvent'
|
||||
|
||||
|
||||
//const props = defineProps({
|
||||
@@ -12,9 +12,8 @@ import scList from '@/views/shoppingCart/sc-list.vue'
|
||||
const router = useRouter()
|
||||
let data = reactive({
|
||||
})
|
||||
const isShoppingShow = ref(false)
|
||||
const addShopping = (item) => {
|
||||
isShoppingShow.value = true
|
||||
myEvent.emit('addShopping', item)
|
||||
}
|
||||
onMounted(()=>{
|
||||
})
|
||||
@@ -100,9 +99,6 @@ const {} = toRefs(data);
|
||||
</div>
|
||||
</div>
|
||||
<Footer></Footer>
|
||||
<el-drawer v-model="isShoppingShow" width="50rem" :close-on-click-modal="false" title="I am the title" :with-header="false">
|
||||
<sc-list is-mini style="flex: 0.6;" @close="isShoppingShow = false"/>
|
||||
</el-drawer>
|
||||
</div>
|
||||
</template>
|
||||
<style lang="less" scoped>
|
||||
|
||||
Reference in New Issue
Block a user