|
@@ -59,10 +59,15 @@
|
|
|
|
|
|
const popupRef = ref(null); // 索引
|
|
|
const confirmDialogRef = ref(null);
|
|
|
- const list = ref([]); // 章节
|
|
|
const activeCollapse = ref('');
|
|
|
const Message = MESSAGE_BEFORE_PAY;
|
|
|
const youkeDialogRef = ref(null);
|
|
|
+
|
|
|
+ const props = defineProps({
|
|
|
+ list: {
|
|
|
+ type: Array,
|
|
|
+ }
|
|
|
+ })
|
|
|
|
|
|
function ykConfirm() {
|
|
|
uni.redirectTo({
|
|
@@ -74,12 +79,6 @@
|
|
|
* @summary 展示弹窗 暴露函数
|
|
|
*/
|
|
|
async function showPopup() {
|
|
|
- const [err, data] = await getCatalogue();
|
|
|
- if (err) {
|
|
|
- toast("章节目录数据获取失败");
|
|
|
- return;
|
|
|
- }
|
|
|
- refreshCatalogue(data);
|
|
|
handleShow();
|
|
|
}
|
|
|
|