可信代码库-可信开源代码库AI助手开源软件列表展示开发完成
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
</d-button>
|
||||
</div>
|
||||
<div class="card-description">
|
||||
<button v-for="(question, index) in questions" :key="index" class="question-button">
|
||||
<button v-for="(question, index) in questions" :key="index" class="question-button" @click="emits('submit',question)">
|
||||
{{ question }}
|
||||
</button>
|
||||
</div>
|
||||
@@ -21,6 +21,8 @@
|
||||
<script setup>
|
||||
import { ref } from 'vue';
|
||||
|
||||
const emits = defineEmits(['submit']);
|
||||
|
||||
// 假设的图标 URL,你可以根据实际情况修改
|
||||
const iconUrl = 'https://example.com/icon.png';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user