feat(M09-D4): 完成商品选购与运营工作台
This commit is contained in:
@@ -24,10 +24,10 @@ for (const pattern of [
|
||||
assert.doesNotMatch(app, /import\s+(?!AdminLoginPanel\b)\w+Panel\s+from/);
|
||||
|
||||
const router = read('admin/src/router.ts');
|
||||
assert.equal((router.match(/\(\) => import\('/g) || []).length, 12);
|
||||
assert.equal((router.match(/\(\) => import\('/g) || []).length, 13);
|
||||
assert.match(router, /router\.beforeEach/);
|
||||
const navigation = read('admin/src/navigation.mjs');
|
||||
for (const path of ['/overview', '/stores', '/orders', '/payments', '/third-party', '/people',
|
||||
for (const path of ['/overview', '/stores', '/orders', '/products', '/payments', '/third-party', '/people',
|
||||
'/cleaning', '/devices', '/apps', '/content', '/franchise', '/system']) assert.ok(navigation.includes(`path: '${path}'`));
|
||||
|
||||
const cleaningWorkspace = read('admin/src/components/CleaningWorkspace.vue');
|
||||
|
||||
Reference in New Issue
Block a user