<template>
  <view class="content">
    <view class="one">
      <view v-for="(item, index) in list" :key="index">
        <view class="name">
          {{ item.name }}
        </view>
        <view class="brief">
          {{ item.brief }}
        </view>
      </view>
    </view>
  </view>
</template>

<script>
export default {
  data() {
    return {
      list: [],
    };
  },
  onLoad() {
    const that = this;
    that.search();
  },
  methods: {
    async search({ skip = 0, limit = 10, ...info } = {}) {
      let res = await this.$api("test", "GET", {});
      console.log(res);
    },
  },
};
</script>

<style lang="scss"></style>
