fix: 代码合并恢复
This commit is contained in:
parent
c48378d9fd
commit
fd580b1f77
@ -571,23 +571,6 @@ const hiddenBlockNumber = computed(() => {
|
||||
return `${str.substring(0, 6)}******`;
|
||||
});
|
||||
|
||||
// 隐藏交易哈希(保留前6位 + 6个*)
|
||||
const hiddenTxHash = computed(() => {
|
||||
const hash = assetData.value.tx_hash;
|
||||
if (!hash) return '******';
|
||||
if (hash.length <= 6) return hash + '******';
|
||||
return `${hash.substring(0, 6)}******`;
|
||||
});
|
||||
|
||||
// 隐藏区块链编号(保留前6位 + 6个*)
|
||||
const hiddenBlockNumber = computed(() => {
|
||||
const num = assetData.value.block_number;
|
||||
if (!num) return '******';
|
||||
const str = String(num);
|
||||
if (str.length <= 6) return str + '******';
|
||||
return `${str.substring(0, 6)}******`;
|
||||
});
|
||||
|
||||
// 复制完整哈希
|
||||
const copyHash = () => {
|
||||
const hash = assetData.value.tx_hash;
|
||||
|
||||
@ -196,6 +196,7 @@ import {
|
||||
buildCastloveFormSnapshot,
|
||||
CRAFT_LENTICULAR_CN,
|
||||
CRAFT_LASER_CARD_CN,
|
||||
CASTLOVE_LASER_ENTRY_KEY,
|
||||
} from '@/utils/castloveMintForm.js';
|
||||
import {
|
||||
startAiImageGenerationFlow,
|
||||
@ -762,9 +763,6 @@ const startCraftStudioPipeline = (studioKind) => {
|
||||
console.error('[CreatePage] craft studio pipeline', e);
|
||||
uni.showToast({ title: '启动失败,请重试', icon: 'none' });
|
||||
}
|
||||
uni.navigateTo({
|
||||
url: '/pages/castlove/lenticular-studio',
|
||||
});
|
||||
};
|
||||
|
||||
/** 单图工艺:进入镭射工坊(Laser-Card 配置页),保存后再上传并创建订单 */
|
||||
@ -811,14 +809,6 @@ const handleLenticularGenerate = () => {
|
||||
startCraftStudioPipeline(STUDIO_LENTICULAR);
|
||||
};
|
||||
|
||||
const handleSingleCraftLaserEntry = () => {
|
||||
if (isLenticularCraft.value) {
|
||||
uni.showToast({ title: '光栅卡请使用「生成」', icon: 'none' });
|
||||
return;
|
||||
}
|
||||
startCraftStudioPipeline(STUDIO_LASER);
|
||||
};
|
||||
|
||||
// 底部导航切换
|
||||
const handleTabChange = (newTab) => {
|
||||
const routes = [
|
||||
|
||||
Loading…
Reference in New Issue
Block a user